https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
--- Comment #4 from Jonathan Wakely ---
This changed intentionally with r12-85-g5f8aed72e76970
c++: Refine enum direct-list-initialization [CWG2374]
This implements the wording changes of CWG2374, which clarifies the
wording of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
--- Comment #3 from Jonathan Wakely ---
(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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357
--- Comment #1 from Andrew Pinski ---
I think the testcase is invalid as the enum does not have "fixed underlying
type"