aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/jump.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 53b3a03..2e263f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
+ * jump.c (rtx_renumbered_equal_p): Replace an expression that
+ is known to be 0 with 0.
+
+2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
+
* gcse.c (expr_equiv_p): Replace expressions that are known to
be 0 with 0.
diff --git a/gcc/jump.c b/gcc/jump.c
index 630524b..08ae377 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -2326,10 +2326,8 @@ rtx_renumbered_equal_p (x, y)
case CC0:
case ADDR_VEC:
case ADDR_DIFF_VEC:
- return 0;
-
case CONST_INT:
- return INTVAL (x) == INTVAL (y);
+ return 0;
case LABEL_REF:
/* We can't assume nonlocal labels have their following insns yet. */