From: Richard Henderson Date: Fri, 17 Jun 2005 20:14:25 +0000 (-0700) Subject: local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=599c25e213782e397e5bc16f942ffae0425f6fab;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4451476e364..9318bb82f05 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-17 Richard Henderson + + * local-alloc.c (update_equiv_regs): Update reg_equiv_init + properly when moving an initialization insn. + 2005-06-17 Paolo Bonzini * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index b993d35b474..ada6e3d2b4a 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1177,7 +1177,8 @@ update_equiv_regs (void) info. */ SET_REGNO_REG_SET (&cleared_regs, regno); clear_regnos++; - reg_equiv_init[regno] = NULL_RTX; + reg_equiv_init[regno] + = gen_rtx_INSN_LIST (VOIDmode, new_insn, NULL_RTX); } } }