|
From: SourceForge.net <no...@so...> - 2005-03-26 19:00:26
|
Bugs item #1171114, was opened at 2005-03-26 14:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1171114&group_id=599 Category: pic14 target Group: None Status: Open Resolution: None Priority: 5 Submitted By: Greg Kunyavsky (gregkster) Assigned to: Nobody/Anonymous (nobody) Summary: Output references undefined label Initial Comment: Generated assembler code reference label _00293_DS_, but it's not defined. The workaround if it can be called that, because it changes the logic is to insert a break statement. Search for "COMPILER_BUG" to see where the break statement needs to inserted. When that break statement is added the warnings about "conditional flow changed by optimizer" go away too, so maybe it's an optimizer bug. Compiler errors: C:\prg\maestro1>c:\sdcc\bin\sdcc -p16f877 -mpic14 -S -pomit-ivt bug.c Processor: 16f877 matrixor.c:1167: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG matrixor.c:1167: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG WARNING: function 'main' undefined ERROR: LinkFlow, couldn't find label. key=293,lab=_00293_DS_ ERROR: LinkFlow, couldn't find label. key=293,lab=_00293_DS_ Couldn't find label _00293_DS_ Compiler version: C:\prg\maestro1>c:\sdcc\bin\sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.4.0 (Feb 23 2004) (MINGW32) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1171114&group_id=599 |