aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 0ef0320..f2016f9 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -1818,7 +1818,7 @@ expr_equiv_p (x, y)
return 1;
if (x == 0 || y == 0)
- return x == y;
+ return 0;
code = GET_CODE (x);
if (code != GET_CODE (y))
@@ -1832,10 +1832,8 @@ expr_equiv_p (x, y)
{
case PC:
case CC0:
- return x == y;
-
case CONST_INT:
- return INTVAL (x) == INTVAL (y);
+ return 0;
case LABEL_REF:
return XEXP (x, 0) == XEXP (y, 0);