[Bug c/2699] gcc does not warn of dead code

pinskia@physics.uc.edu gcc-bugzilla@gcc.gnu.org
Sun May 25 15:50: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=2699



------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 15:31 -------
With -O1 and -Wunreachable-code, the mainline warns about unreachable code, -
Wunreachable-code is not turned on with -Wall because if you inline a function, there 
can be some unreachable.  In C++ with templates can cause unreachable code.
Also I think 3.3 does not warn.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list