On Sat, Jan 27, 2024 at 08:25:04PM -0800, Andrew Pinski via Gcc-bugs wrote: > Just an FYI, the clang issue was > https://github.com/llvm/llvm-project/issues/69619 . > With the following commit to the LLVM git repo as the fix: > https://github.com/llvm/llvm-project/commit/5175cd777c57190ab9860c304796d386e4df9b8f
Indeed, the C23 draft I have specifies in 6.7.2.2/5: "If an enum type specifier is present, then the longest possible sequence of tokens that can be interpreted as a specifier qualifier list is interpreted as part of the enum type specifier. It shall name an integer type that is neither an enumeration nor a bit-precise integer type." Jakub