https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118412

--- Comment #6 from André Brand <andre.brand at mailbox dot org> ---
(In reply to Andrew Pinski from comment #5)
> If you want you can submit something to the C++ standards committee because
> it does seems like there is a conflict between the 2 parts at least the
> example (the example might be considered an editorial change):
> https://isocpp.org/std/submit-issue

Sure. I haven't done that so far but there's a first time for everything. :-)

By the way, in case you haven't checked:
https://eel.is/c++draft/temp.expl.spec#example-4
is *not* rejected by GCC even though it should:
https://godbolt.org/z/deocxfvv6

In addition to that, it does not assign the correct value of 0 to the first
enumerator.

Reply via email to