[Bug c/49859] gcc could warn about statements between "switch" and first "case"
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 23 15:24:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49859
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
For sure we do not need the old -Wunreachable here. Just when parsing a switch
block, anything found before the first case is basically unreachable, no?
(Why the standard does not consider this an error?)
More information about the Gcc-bugs
mailing list