[Bug c/80253] Optimization silences __attribute__((fallthrough)) warning
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 16:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80253
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-03-29
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. With -O we remove a pointless goto, and the next statement happens
to be the default label from the switch.
More information about the Gcc-bugs
mailing list