diff options
author | Caroline Tice <cmtice@google.com> | 2015-10-23 16:22:42 -0700 |
---|---|---|
committer | Caroline Tice <ctice@gcc.gnu.org> | 2015-10-23 16:22:42 -0700 |
commit | 9145a539410f8b27c91875e5be057f12ab812dea (patch) | |
tree | fd19bccd7d865a1b21d3cced1193ebd1e4510344 /gcc/tree.c | |
parent | b9584cb56b0488414776e77dc70dedd569af9b48 (diff) | |
download | gcc-9145a539410f8b27c91875e5be057f12ab812dea.zip gcc-9145a539410f8b27c91875e5be057f12ab812dea.tar.gz gcc-9145a539410f8b27c91875e5be057f12ab812dea.tar.bz2 |
This patch fixes a compile-time regression that was originally introduced by the fix for PR64111, in GCC 4.9.3.
This patch fixes a compile-time regression that was originally
introduced by the fix for PR64111, in GCC 4.9.3.
gcc/ChangeLog:
2015-10-23 Caroline Tice <cmtice@google.com>
(from Richard Biener)
* tree.c (int_cst_hasher::hash): Replace XOR with more efficient
call to iterative_hash_host_wide_int.
From-SVN: r229277
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1364,7 +1364,7 @@ int_cst_hasher::hash (tree x) int i; for (i = 0; i < TREE_INT_CST_NUNITS (t); i++) - code ^= TREE_INT_CST_ELT (t, i); + code = iterative_hash_host_wide_int (TREE_INT_CST_ELT(t, i), code); return code; } |