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

Re: Attribute questions



> SET_DEFAULT_DECL_ATTRIBUTES.  I think it would make sense to say that all
> attributes on a declaration are conceptually combined into a single list,
> and the order in that list must not matter (since the order can get
> muddled in various places within GCC already)

I don't care about the order thing, but I agree with your other comment.

The new C++ parser is taking a more consistent approach to this, and
is combining all the attributes together before letting the rest
of the compiler know about them, so it should just work. Someday
it will be the new C parser too...

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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