https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95513
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-04-21 Severity|normal |minor Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, though I think GCC warns about the "control reaches end of function" without much optimizations done so GCC does not know the switch statement is fully taken care of.