[Bug c/49859] gcc could warn about statements between "switch" and first "case"

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 27 01:22:00 GMT 2011


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-27 01:22:05 UTC ---
-Wunreachable-code support was removed because it dependent on optimization and
caused some "false positives" (well they are not false positives in the sense
they were unreachable code but rather the code compiled with some optimization
was a truly unreachable but only with inlining and such).

Also does clang warn about Duff's loops?



More information about the Gcc-bugs mailing list