[Bug c/12150] [3.3/3.4 regression] warning in dead code (comparison is always false) [regression]

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 3 16:46: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=12150



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-03 16:46 -------
The older compilers did not look to see if the condition turned into true (or false) for every case, 
the patch changed it so it would look to see if the condition turned into true (false) always.
Here is the link to the patch which caused this: <http://gcc.gnu.org/ml/gcc-patches/2002-04/
msg01547.html>.
It did not find if the code was dead at all (so it is not a regression in that sense).



More information about the Gcc-bugs mailing list