On Tue, May 10, 2011 at 8:41 AM, Richard Guenther <rguent...@suse.de> wrote: > > This is the second half of splitting TYPE_CANONICAL handling away > from the rest of the machinery. The following patch introduces > a simplified, non-SCC based hashing for TYPE_CANONICAL - it > still hashes things it shouldn't, but the patch is supposed to > be functional equivalent apart from the pointer-following case. > > Bootstrapped on x86_64-unknown-linux-gnu, testing and SPEC2k6 LTO > building in progress. > > I plan to commit both pieces together tomorrow, if the testing > succeeded. > > A followup will then remove dead codepaths from the other half > of the machinery, followed by a patch to simplify both hashing > and comparing TYPE_CANONICALs a tad bid. > > Richard. > > 2011-05-10 Richard Guenther <rguent...@suse.de> > > * gimple.c (iterative_hash_canonical_type): Split out from > iterative_hash_gimple_type and friends. Do not recurse > to pointed-to types. > (gimple_canonical_type_hash): Use it, allocate the hash here. >
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48964 -- H.J.