(emit_reload_insns): Don't try to delete output reload if there isn't
one. From-SVN: r7265
This commit is contained in:
parent
184ff798d9
commit
b87b7ecd73
@ -5605,8 +5605,9 @@ emit_reload_insns (insn)
|
||||
&& spill_reg_store[reload_spill_index[REGNO (oldequiv)]] != 0
|
||||
&& dead_or_set_p (insn, reload_in[j])
|
||||
/* This is unsafe if operand occurs more than once in current
|
||||
insn. Perhaps some occurrences weren't reloaded. */
|
||||
&& count_occurrences (PATTERN (insn), reload_in[j]) == 1)
|
||||
insn. Perhaps some occurrences weren't reloaded. */
|
||||
&& count_occurrences (PATTERN (insn), reload_in[j]) == 1
|
||||
&& spill_reg_store[spill_reg_order[REGNO (oldequiv)]] != 0)
|
||||
delete_output_reload
|
||||
(insn, j, spill_reg_store[spill_reg_order[REGNO (oldequiv)]]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user