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 middle-end/35188] Missing a warning: if-condition is inherently blocking the if-body



------- Comment #2 from tuttle at sandbox dot cz  2008-02-13 21:41 -------
(In reply to comment #1)
> -Wunreachable-code should warn already.
> -- Pinski

I've tried -Wunreachable-code before submitting this enhancement request.

gcc 4.1.3 in Ubuntu GG does not warn.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35188


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