https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- No compiler (clang, GCC, MSVC and ICC[EDG in GCC comapatibility mode]) I tried warns about this: enum { toobig = 0x7fffffff * 2U + 1U };