(refers_to_mem_p): Use rtx_equal_p to see if bases are equal.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 12 Mar 1993 22:43:28 +0000 (17:43 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 12 Mar 1993 22:43:28 +0000 (17:43 -0500)
From-SVN: r3719

gcc/cse.c

index bb29091..6371998 100644 (file)
--- 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;