diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 <mhayes@cygnus.com> + + * 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 <jh@suse.cz> * i386.md (add?i_3, add?i_5): New. @@ -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); } |
