reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...
P * reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn for the pseudo. From-SVN: r22473
This commit is contained in:
parent
f10df53cc3
commit
0a6401c411
1 changed files with 2 additions and 1 deletions
|
@ -2673,7 +2673,8 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
|
|||
substed_operand[i] = recog_operand[i]
|
||||
= reg_equiv_mem[regno];
|
||||
#endif
|
||||
if (reg_equiv_address[regno] != 0)
|
||||
if (reg_equiv_address[regno] != 0
|
||||
&& (set == 0 || &SET_DEST (set) != recog_operand_loc[i]))
|
||||
{
|
||||
/* If reg_equiv_address is not a constant address, copy it,
|
||||
since it may be shared. */
|
||||
|
|
Loading…
Add table
Reference in a new issue