Commit fbfb3b09 by Zdenek Dvorak Committed by Richard Henderson

* flow.c (calculate_global_regs_live): Queue blocks in program order.

From-SVN: r53533
parent b4b0fb02
2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* flow.c (calculate_global_regs_live): Queue blocks in program order.
2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* doc/install.texi (Configuration): Document PWDCMD. * doc/install.texi (Configuration): Document PWDCMD.
......
...@@ -1113,16 +1113,14 @@ calculate_global_regs_live (blocks_in, blocks_out, flags) ...@@ -1113,16 +1113,14 @@ calculate_global_regs_live (blocks_in, blocks_out, flags)
useful work. We use AUX non-null to flag that the block is queued. */ useful work. We use AUX non-null to flag that the block is queued. */
if (blocks_in) if (blocks_in)
{ {
/* Clear out the garbage that might be hanging out in bb->aux. */
FOR_ALL_BB (bb) FOR_ALL_BB (bb)
bb->aux = NULL; if (TEST_BIT (blocks_in, bb->sindex))
{
EXECUTE_IF_SET_IN_SBITMAP (blocks_in, 0, i, *--qhead = bb;
{ bb->aux = bb;
bb = BASIC_BLOCK (i); }
*--qhead = bb; else
bb->aux = bb; bb->aux = NULL;
});
} }
else else
{ {
......
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