This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH vs. type canonicalization
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Geoffrey Keating <geoffk at apple dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 20 Feb 2004 18:07:31 -0500
- Subject: Re: PCH vs. type canonicalization
- References: <xyp4qtltkvl.fsf@miranda.boston.redhat.com>
>>>>> Jason Merrill writes:
Jason> I suppose the right fix is to stop using the address in calculating the
Jason> hash of a type. Alternately, we could do something along the lines of the
Jason> reorder functions for sorted field structures.
Avoiding addresses in hash calculations is a long-standing
enhancement request:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4520
David