Commit 599c25e2 by Richard Henderson Committed by Richard Henderson

local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an…

local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an initialization insn.

        * local-alloc.c (update_equiv_regs): Update reg_equiv_init
        properly when moving an initialization insn.

From-SVN: r101132
parent 6b9a1abd
2005-06-17 Richard Henderson <rth@redhat.com>
* local-alloc.c (update_equiv_regs): Update reg_equiv_init
properly when moving an initialization insn.
2005-06-17 Paolo Bonzini <bonzini@gnu.org> 2005-06-17 Paolo Bonzini <bonzini@gnu.org>
* aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the
......
...@@ -1177,7 +1177,8 @@ update_equiv_regs (void) ...@@ -1177,7 +1177,8 @@ update_equiv_regs (void)
info. */ info. */
SET_REGNO_REG_SET (&cleared_regs, regno); SET_REGNO_REG_SET (&cleared_regs, regno);
clear_regnos++; clear_regnos++;
reg_equiv_init[regno] = NULL_RTX; reg_equiv_init[regno]
= gen_rtx_INSN_LIST (VOIDmode, new_insn, NULL_RTX);
} }
} }
} }
......
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