OSDN Git Service

* jump.c (rtx_renumbered_equal_p): Replace an expression that
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 19:40:09 +0000 (19:40 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jun 2003 19:40:09 +0000 (19:40 +0000)
is known to be 0 with 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68602 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/jump.c

index 53b3a03..2e263f9 100644 (file)
@@ -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.
 
index 630524b..08ae377 100644 (file)
@@ -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.  */