https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88363
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think it is irrelevant what exact types the standards call integer types for how we define our extension, and it is irrelevant on how LLVM implemented it, they implemented many GNU extensions incorrectly. What matters is what makes sense. For these kinds of attributes (alloc_align, alloc_size) we are looking for a parameter that meaningfully will hold either a size or alignment. Supporting bool/_Bool for that kind of argument makes no sense, enums are borderline, though I'd say it is fine to warn about them. So I'd recommend just to add testcases that cover this behavior and close.