https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90300
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- enum class can still have values that are outside of the defined values and that is not undefined code.