https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100993
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think at least in the past glibc used to add attributes to builtins through typeof (__builtin_whatever) __builtin_whatever __attribute__((...)); so not sure if we can completely forbid it, but we certainly should forbid when it has incompatible type or what one defines the body for it.