This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49859] gcc could warn about statements between "switch" and first "case"
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Jul 2011 01:22:08 +0000
- Subject: [Bug c/49859] gcc could warn about statements between "switch" and first "case"
- Auto-submitted: auto-generated
- References: <bug-49859-4@http.gcc.gnu.org/bugzilla/>
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?