From 8aea655f0ac27163c0792269d0e1b9de5289b4cc Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 19 May 1994 17:46:31 -0400 Subject: [PATCH] (emit_reload_insns): When seeing if an equivalent register can have it's output reload deleted... (emit_reload_insns): When seeing if an equivalent register can have it's output reload deleted, check for REG_DEAD notes for reload_in instead of calling dead_or_set_p. From-SVN: r7339 --- gcc/reload1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/reload1.c b/gcc/reload1.c index fbe511502a8..aed8cc4b1ae 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -5627,7 +5627,7 @@ emit_reload_insns (insn) && REGNO (oldequiv) < FIRST_PSEUDO_REGISTER && spill_reg_order[REGNO (oldequiv)] >= 0 && spill_reg_store[reload_spill_index[REGNO (oldequiv)]] != 0 - && dead_or_set_p (insn, reload_in[j]) + && find_reg_note (insn, REG_DEAD, 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 -- 2.30.2