This is the mail archive of the gcc-patches@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]

Re: [C,C++] integer constants in attribute arguments


Marc Glisse <marc.glisse@inria.fr> writes:

> On Wed, 5 Feb 2014, Dominique Dhumieres wrote:
>
>>> I'll give it a day (it can easily be changed again later).
>>
>> IMO it would be better (more general) to use a dg-require-effective-target
>> with the corresponding test(s) in target-supports-dg.exp.
>
> But which tests? One for over/under alignment of functions, one for
> init_priority, maybe yet one more, all that for a file that is just
> checking that the parser understands the attribute argument is a
> constant...

Wrt. the function decl it should probably just be changed to a variable
decl.  Alignments on function decls are kind of exotic.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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