[Bug middle-end/35188] Missing a warning: if-condition is inherently blocking the if-body

tuttle at sandbox dot cz gcc-bugzilla@gcc.gnu.org
Wed Feb 13 21:42:00 GMT 2008



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



More information about the Gcc-bugs mailing list