Commit 97ca9316 by Michael Hayes Committed by Michael Hayes

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
parent d90ffc8d
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> Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
* i386.md (add?i_3, add?i_5): New. * i386.md (add?i_3, add?i_5): New.
......
...@@ -1438,9 +1438,6 @@ split_block (bb, insn) ...@@ -1438,9 +1438,6 @@ split_block (bb, insn)
rtx bb_note; rtx bb_note;
int i, j; int i, j;
if (BLOCK_FOR_INSN (insn) != bb)
abort ();
/* There is no point splitting the block after its end. */ /* There is no point splitting the block after its end. */
if (bb->end == insn) if (bb->end == insn)
return 0; return 0;
...@@ -1510,7 +1507,7 @@ split_block (bb, insn) ...@@ -1510,7 +1507,7 @@ split_block (bb, insn)
propagate_block to determine which registers are live. */ propagate_block to determine which registers are live. */
COPY_REG_SET (new_bb->global_live_at_start, bb->global_live_at_end); 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); 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); new_bb->global_live_at_start);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment