https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I think the testcase is invalid as the enum does not have "fixed underlying > type" Scoped enums always have a fixed underlying type.