http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60924
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 don't see why, all other attributes are allowed on both declarations and definitions, having some attributes that are only allowed on definitions would be extremely confusing to users, and not really useful.