summaryrefslogtreecommitdiff
path: root/gcc/lto/lto.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r--gcc/lto/lto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index c854589c673..07a009b2d21 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1778,8 +1778,8 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map)
if (CODE_CONTAINS_STRUCT (code, TS_INT_CST))
{
- compare_values (TREE_INT_CST_LOW);
- compare_values (TREE_INT_CST_HIGH);
+ if (!wide_int::eq_p (t1, t2))
+ return false;
}
if (CODE_CONTAINS_STRUCT (code, TS_REAL_CST))