[Bug c/78927] implicit-fallthrough is very picky about FALLTHROUGH comment location

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 25 18:31:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78927

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Yes, the issue is known already. But unfortunately it is not fixable.
You must use the [[gnu::fallthrough]] attribute in this case.


More information about the Gcc-bugs mailing list