This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35188] Missing a warning: if-condition is inherently blocking the if-body
- From: "tuttle at sandbox dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Feb 2008 21:41:34 -0000
- Subject: [Bug middle-end/35188] Missing a warning: if-condition is inherently blocking the if-body
- References: <bug-35188-15773@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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