Commit b87b7ecd by Richard Kenner

(emit_reload_insns): Don't try to delete output reload if there isn't

one.

From-SVN: r7265
parent 184ff798
......@@ -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)]]);
......
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