aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/cselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/cselib.c')
-rw-r--r--gcc-4.9/gcc/cselib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/cselib.c b/gcc-4.9/gcc/cselib.c
index 26bcbe077..7918b2be8 100644
--- a/gcc-4.9/gcc/cselib.c
+++ b/gcc-4.9/gcc/cselib.c
@@ -1137,7 +1137,7 @@ cselib_hash_rtx (rtx x, int create, enum machine_mode memmode)
return hash ? hash : (unsigned int) ENTRY_VALUE;
case CONST_INT:
- hash += ((unsigned) CONST_INT << 7) + INTVAL (x);
+ hash += ((unsigned) CONST_INT << 7) + UINTVAL (x);
return hash ? hash : (unsigned int) CONST_INT;
case CONST_DOUBLE: