[Bug optimization/12082] Inappropriate unreachable code warnings
augart at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 28 17:29:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12082
------- Additional Comments From augart at us dot ibm dot com 2003-08-28 17:29 -------
Created an attachment (id=4675)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4675&action=view)
good2.i, preprocessed C source that doesn't show the problem.
The bug doesn't appear when I compile good2.i, which is bad1.i without the for
loop:
bilbo:~/JikesRVM/gccbug > cc --save-temps -v -Wunreachable-code -O3 -o good2.S
-S good2.i
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: ./configure --cache-file=config.cache
Thread model: posix
gcc version 3.3.1
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/cc1 -fpreprocessed good2.i
-quiet -dumpbase good2.i -auxbase-strip good2.S -O3 -Wunreachable-code -version
-o good2.S
GNU C version 3.3.1 (i686-pc-linux-gnu)
compiled by GNU C version 3.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
bilbo:~/JikesRVM/gccbug >
bilbo:~/JikesRVM/gccbug >
More information about the Gcc-bugs
mailing list