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
This commit is contained in:
Michael Hayes 2000-09-11 23:59:41 +00:00 committed by Michael Hayes
parent d90ffc8d2c
commit 97ca931623
2 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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);
}