aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c2
1 files changed, 1 insertions, 1 deletions
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,