Commit 54b5ffe9 by Richard Stallman

(find_equiv_reg): Set goal_mem_addr_varies

for all but true constant addresses.

From-SVN: r4406
parent 1ede52a6
...@@ -5176,7 +5176,9 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode) ...@@ -5176,7 +5176,9 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
} }
if (goal_mem) if (goal_mem)
goal_mem_addr_varies = rtx_addr_varies_p (goal); /* We must treat frame pointer as varying here,
since it can vary--in a nonlocal goto as generated by expand_goto. */
goal_mem_addr_varies = !CONSTANT_ADDRESS_P (XEXP (goal, 0));
/* Now verify that the values of GOAL and VALUE remain unaltered /* Now verify that the values of GOAL and VALUE remain unaltered
until INSN is reached. */ until INSN is reached. */
......
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