This is the mail archive of the
mailing list for the GCC project.
Re: Re: [PATCH] Canonical types (1/3)
On 12/5/06, Mark Mitchell <firstname.lastname@example.org> 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.