diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-27 19:40:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-27 19:40:09 +0000 |
commit | 47c7b4d250323f816bc67b65bfc54730c2928781 (patch) | |
tree | 59c9118a07002c7ff071c0a4ded4d66d5d93cfc5 /gcc | |
parent | ebd7a7af832b48e9b6d08acd5e493c7ae9cbbde2 (diff) | |
download | gcc-47c7b4d250323f816bc67b65bfc54730c2928781.zip gcc-47c7b4d250323f816bc67b65bfc54730c2928781.tar.gz gcc-47c7b4d250323f816bc67b65bfc54730c2928781.tar.bz2 |
jump.c (rtx_renumbered_equal_p): Replace an expression that is known to be 0 with 0.
* jump.c (rtx_renumbered_equal_p): Replace an expression that
is known to be 0 with 0.
From-SVN: r68602
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/jump.c | 4 |
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. @@ -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. */ |