https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108128
--- Comment #1 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- Well, with -pedantic, GCC also warns on "enum { A = 1 << 31 };".
vincent-gcc at vinc17 dot net via Gcc-bugs Thu, 15 Dec 2022 05:58:09 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108128
--- Comment #1 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- Well, with -pedantic, GCC also warns on "enum { A = 1 << 31 };".