From 97ca931623347494488bb230746d8881d89cb782 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Mon, 11 Sep 2000 23:59:41 +0000 Subject: [PATCH] flow.c (split_block): Fix update of registers live at end of split block. * flow.c (split_block): Fix update of registers live at end of split block. From-SVN: r36343 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7643df0..850881f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-13 Michael Hayes + + * flow.c (split_block): Fix update of registers live at + end of split block. + Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka * i386.md (add?i_3, add?i_5): New. diff --git a/gcc/flow.c b/gcc/flow.c index c2ae965..12005d3 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -1438,9 +1438,6 @@ split_block (bb, insn) rtx bb_note; int i, j; - if (BLOCK_FOR_INSN (insn) != bb) - abort (); - /* There is no point splitting the block after its end. */ if (bb->end == insn) return 0; @@ -1510,7 +1507,7 @@ split_block (bb, insn) propagate_block to determine which registers are live. */ COPY_REG_SET (new_bb->global_live_at_start, bb->global_live_at_end); propagate_block (new_bb, new_bb->global_live_at_start, NULL, 0); - COPY_REG_SET (new_bb->global_live_at_end, + COPY_REG_SET (bb->global_live_at_end, new_bb->global_live_at_start); } -- 2.7.4