This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Attribute questions
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Attribute questions
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 29 Jun 2001 10:32:19 -0700
- cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
> 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