This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]