https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77955
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > (In reply to Markus Trippelsdorf from comment #0) > > As you can see gcc issues a bogus warning and doesn't warn for the case 2 > > fallthrough. > > It falls through to default: break; so it should warn for that case. Yes, that is what I meant to say.