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 gdr at integrable-solutions dot net  2003-09-05 07:06 -------
Subject: Re:  [3.3/3.4 regression] warning in dead code (comparison is always false) [regression]

"mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| If the user does not want warnings in code that is unreachable, that
| code should be #ifdef'd out on platforms that are unreachable.

Hey, this would take us away from 

   if (HAVE_FEATURE)
     {
     }
   else
    {
    }

which has been advocated with good reasons.

-- Gaby


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