summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-17 20:14:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-17 20:14:25 +0000
commit6074722d680597a995daaccbf126565a4d95f681 (patch)
tree9b70d351cce5ac8d53b112933b87145dd9219602 /gcc/local-alloc.c
parent607b5e63bb8ac191d28b5144afdf0ef5fdea2a3b (diff)
downloadgcc-6074722d680597a995daaccbf126565a4d95f681.tar.gz
* local-alloc.c (update_equiv_regs): Update reg_equiv_init
properly when moving an initialization insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101132 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}
}