This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Canonical types (1/3)
"Steven Bosscher" <firstname.lastname@example.org> writes:
> On 11/28/06, Doug Gregor <email@example.com> wrote:
> > * tree.h (TYPE_CANONICAL): New.
> > (TYPE_STRUCTURAL_EQUALITY): New.
> > (struct tree_type): Added structural_equality, unused_bits,
> > canonical fields.
> If I understand your patches correctly, this stuff is only needed for
> the C-family languages. So why steal two pointers on the generic
> struct tree_type? Are you planning to make all front ends use these
> fields, or is it just additional bloat for e.g. Ada, Fortran, Java?
It seems to me that all the frontends should use these fields.
Hopefully we can use it as a lever to eliminate the types_compatible_p