aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-03-12 17:43:28 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-03-12 17:43:28 -0500
commit7b0d7bd0c9e3e3275f67a657a3a7159b27fda81a (patch)
treec90720a29d867b55c7c283292265ecc2f61066b5
parent6500fb4361724b16e65e6fd552256c4090ead3ac (diff)
downloadgcc-7b0d7bd0c9e3e3275f67a657a3a7159b27fda81a.zip
gcc-7b0d7bd0c9e3e3275f67a657a3a7159b27fda81a.tar.gz
gcc-7b0d7bd0c9e3e3275f67a657a3a7159b27fda81a.tar.bz2
(refers_to_mem_p): Use rtx_equal_p to see if bases are equal.
From-SVN: r3719
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index bb29091..6371998 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -2307,7 +2307,7 @@ refers_to_mem_p (x, base, start, end)
/* refers_to_mem_p is never called with varying addresses.
If the base addresses are not equal, there is no chance
of the memory addresses conflicting. */
- if (mybase != base)
+ if (! rtx_equal_p (mybase, base))
return 0;
return myend > start && mystart < end;