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 c/49859] gcc could warn about statements between "switch" and first "case"


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?


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