From 7b0d7bd0c9e3e3275f67a657a3a7159b27fda81a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 12 Mar 1993 17:43:28 -0500 Subject: [PATCH] (refers_to_mem_p): Use rtx_equal_p to see if bases are equal. From-SVN: r3719 --- gcc/cse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cse.c b/gcc/cse.c index bb290910e78..6371998d424 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; -- 2.30.2