mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 09:27:02 +08:00
* flow.c (calculate_global_regs_live): Queue blocks in program order.
From-SVN: r53533
This commit is contained in:
parent
b4b0fb02b1
commit
fbfb3b09bc
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* doc/install.texi (Configuration): Document PWDCMD.
|
||||
|
16
gcc/flow.c
16
gcc/flow.c
@ -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. */
|
||||
if (blocks_in)
|
||||
{
|
||||
/* Clear out the garbage that might be hanging out in bb->aux. */
|
||||
FOR_ALL_BB (bb)
|
||||
bb->aux = NULL;
|
||||
|
||||
EXECUTE_IF_SET_IN_SBITMAP (blocks_in, 0, i,
|
||||
{
|
||||
bb = BASIC_BLOCK (i);
|
||||
*--qhead = bb;
|
||||
bb->aux = bb;
|
||||
});
|
||||
if (TEST_BIT (blocks_in, bb->sindex))
|
||||
{
|
||||
*--qhead = bb;
|
||||
bb->aux = bb;
|
||||
}
|
||||
else
|
||||
bb->aux = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user