https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91215
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In C++ (unlike C), fallthrough to end block where the return type is not void is undefined. In C, only when the value that is returned is undefined.