https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78927
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Or "__attribute__((fallthrough));" for C. Or, as you noticed, move the comment after }.