(find_equiv_reg): Set goal_mem_addr_varies
for all but true constant addresses. From-SVN: r4406
This commit is contained in:
parent
1ede52a6b9
commit
54b5ffe961
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user