https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405
--- Comment #5 from Jiri Slaby <jirislaby at gmail dot com> --- (In reply to Jiri Slaby from comment #4) > Also sizeof of that enum > (if one gives it a name) is 8 with gcc-13. That is not allowed by the > standard, IMO. I'm correcting myself, this was always the case and is not new in 13. With -pedantic, I can see at last: x.c:3:13: warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]