This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/56167] ICE with invalid __attribute__ arguments


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]