summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 10f17e21669..c0aa0e659bb 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -579,8 +579,7 @@ hash_rtx (x, mode, create)
if (! e)
return 0;
- hash += e->value;
- return hash ? hash : (unsigned int) MEM;
+ return e->value;
case CONST_INT:
hash += ((unsigned) CONST_INT << 7) + (unsigned) mode + INTVAL (x);