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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-29
     Ever confirmed|0                           |1

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes you can verify that with

static_assert( std::is_same<std::underlying_type<decltype(x)>::type, unsigned
__int128>::value, "");

I suppose there should be a diagnostic with -Wpedantic (Clang has a
-Wenum-too-large warning).

Reply via email to