aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-03-22 19:54:34 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-03-22 19:54:34 +0000
commit70e0ccd0a04d6d517298264ad94822169d3958b1 (patch)
tree19f866e9f388ab899581b08b98fbae174e5b125a /gcc/flow.c
parent68882f0f81044cb3bdd5e270f6ed1bdc2a55571c (diff)
downloadgcc-70e0ccd0a04d6d517298264ad94822169d3958b1.zip
gcc-70e0ccd0a04d6d517298264ad94822169d3958b1.tar.gz
gcc-70e0ccd0a04d6d517298264ad94822169d3958b1.tar.bz2
flow.c (calculate_global_regs_live): Clear aux fields of ENTRY and EXIT.
* flow.c (calculate_global_regs_live): Clear aux fields of ENTRY and EXIT. From-SVN: r51183
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 71ed939..61008e6 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1113,6 +1113,11 @@ calculate_global_regs_live (blocks_in, blocks_out, flags)
}
}
+ /* We clean aux when we remove the initially-enqueued bbs, but we
+ don't enqueue ENTRY and EXIT initially, so clean them upfront and
+ unconditionally. */
+ ENTRY_BLOCK_PTR->aux = EXIT_BLOCK_PTR->aux = NULL;
+
if (blocks_out)
sbitmap_zero (blocks_out);