(find_equiv_reg): Set goal_mem_addr_varies

for all but true constant addresses.

From-SVN: r4406
This commit is contained in:
Richard Stallman 1993-05-10 05:01:08 +00:00
parent 1ede52a6b9
commit 54b5ffe961
1 changed files with 3 additions and 1 deletions

View File

@ -5176,7 +5176,9 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
}
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
until INSN is reached. */