Commit 7b0d7bd0 by Richard Kenner

(refers_to_mem_p): Use rtx_equal_p to see if bases are equal.

From-SVN: r3719
parent 6500fb43
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment