re PR bootstrap/48964 (LTO profiledbootstrap failure)
authorRichard Guenther <rguenther@suse.de>
Wed, 11 May 2011 15:44:59 +0000 (15:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 May 2011 15:44:59 +0000 (15:44 +0000)
2011-05-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/48964
* gimple.c (iterative_hash_canonical_type): Fix typo.

From-SVN: r173663

gcc/ChangeLog
gcc/gimple.c

index 8c799370220b553a8d12aa30da8e6d16173b2bcf..7ab7fb83759d1d6ef90386560894e3a1dad94583 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-11  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/48964
+       * gimple.c (iterative_hash_canonical_type): Fix typo.
+
 2011-05-11  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (legitimize_tls_address)
index 4f9a145074b76f81586a52c8791fa9314d5faa86..2a8f97653d09bf885b9837dafdebabaca21fc61f 100644 (file)
@@ -4304,7 +4304,7 @@ iterative_hash_canonical_type (tree type, hashval_t val)
   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,