aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-05-11 15:44:59 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-05-11 15:44:59 +0000
commitd034095964209d6ee81c5f0cf93420b0f011fec4 (patch)
tree949e24eb558096b381a7e98ddd0b870366d12adf /gcc
parentcb032feee848f70456b6265a5f7520371e719f35 (diff)
downloadgcc-d034095964209d6ee81c5f0cf93420b0f011fec4.zip
gcc-d034095964209d6ee81c5f0cf93420b0f011fec4.tar.gz
gcc-d034095964209d6ee81c5f0cf93420b0f011fec4.tar.bz2
re PR bootstrap/48964 (LTO profiledbootstrap failure)
2011-05-11 Richard Guenther <rguenther@suse.de> PR middle-end/48964 * gimple.c (iterative_hash_canonical_type): Fix typo. From-SVN: r173663
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gimple.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8c79937..7ab7fb8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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)
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 4f9a145..2a8f976 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -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,