http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48964

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-11 
15:23:28 UTC ---
Index: gcc/gimple.c
===================================================================
--- gcc/gimple.c        (revision 173655)
+++ gcc/gimple.c        (working copy)
@@ -4304,7 +4304,7 @@ iterative_hash_canonical_type (tree type
   m.base.from = type;
   if ((slot = htab_find_slot (canonical_type_hash_cache, &m, INSERT))
       && *slot)
-    return iterative_hash_hashval_t (((struct tree_int_map *) *slot)->to, 0);
+    return iterative_hash_hashval_t (((struct tree_int_map *) *slot)->to,
val);

   /* Combine a few common features of types so that types are grouped into
      smaller sets; when searching for existing matching types to merge,

Reply via email to