aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lra.c')
-rw-r--r--gcc/lra.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/lra.c b/gcc/lra.c
index e00e6e7..f130065 100644
--- a/gcc/lra.c
+++ b/gcc/lra.c
@@ -1719,10 +1719,12 @@ lra_rtx_hash (rtx x)
case SCRATCH:
case CONST_DOUBLE:
- case CONST_INT:
case CONST_VECTOR:
return val;
+ case CONST_INT:
+ return val + UINTVAL (x);
+
default:
break;
}