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: Re: [PATCH] Canonical types (1/3)


On 12/5/06, Mark Mitchell <mark@codesourcery.com> wrote:
The rule *should* be (as per my attribute proposal) that
TYPE_MAIN_VARIANT is always the (well, a, really, due to typedefs)
cv-unqualified form of the type, dropping all "non-semantic" attributes.
 Semantic attributes (like alignment, that actually impact code
generation) should create new types, unrelated by TYPE_*_VARIANT.

I agree completely.


 Cheers,
 Doug


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