From: SourceForge.net <no...@so...> - 2004-07-10 17:50:48
|
Bugs item #988568, was opened at 2004-07-10 10:50 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=988568&group_id=599 Category: Live range problems Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Segmentation fault in rlivePoint Initial Comment: Running sdcc with no options on the following code causes a segfault: cat > test.c << EOF void main(void) { int a = 1; if(a ? 0 : 1) a = 0; } EOF $ sdcc test.c test.c:3: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG test.c:3: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG Caught signal 11: SIGSEGV I believe that this is fixed by the simple patch attached. Further contact if required by sa...@mp... Version string: $ sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.4.2 (Jul 10 2004) (CYGWIN) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=988568&group_id=599 |