diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-27 19:36:38 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-27 19:36:38 +0000 |
commit | 9cae6d485f062a097575457e971bd0fb80293975 (patch) | |
tree | e6deb6cc654411c9cbc45a0da7787d739e579699 /gcc/cse.c | |
parent | 69a351791ba00a3d4a7909d3ac4071701d0871ec (diff) | |
download | gcc-9cae6d485f062a097575457e971bd0fb80293975.tar.gz |
* cse.c (fold_rtx): Replace the equality comparison of INTVALs
with a pointer equality comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68600 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index a061817a3f1..23942034e17 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -4219,7 +4219,7 @@ fold_rtx (x, insn) with a pre- or post-increment. Similarly for two subtracts of identical powers of two with post decrement. */ - if (code == PLUS && INTVAL (const_arg1) == INTVAL (inner_const) + if (code == PLUS && const_arg1 == inner_const && ((HAVE_PRE_INCREMENT && exact_log2 (INTVAL (const_arg1)) >= 0) || (HAVE_POST_INCREMENT |