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

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Wed Sep 3 12:40: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 gdr at integrable-solutions dot net  2003-09-03 12:40 -------
Subject: Re:  warning in dead code (comparison is always false) [regression]

"mattias at virtutech dot se" <gcc-bugzilla@gcc.gnu.org> writes:

| I'm not sure I follow. Gcc 3.3 emits the warning whether the code is
| dead or not. Perfectly legitimate code (written in good style) fails
| to compile with -Wall -Werror in 3.3.1 while it did build in 3.2.2
| --- isn't that a regression? 

Sure, it is.

-- Gaby



More information about the Gcc-bugs mailing list