http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56167
--- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2013-02-01 16:21:58 UTC --- > No idea why you consider the rest as bugs. The diagnostic messages are somewhat confusing. I believe that `weakref', by analogy with `alias', should give: bug.c:1:1: error: attribute 'weakref' argument not a string And the same can be said about `section'. In regard to `alloc_size', I think it could report something like: 1.c:1:1: error: 'alloc_size' parameter is not an integer constant Needless to say, all these things are not of the utmost importance...