From 70e0ccd0a04d6d517298264ad94822169d3958b1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 22 Mar 2002 19:54:34 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce9c9b3cbd8..f4e057ac16b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-22 Alexandre Oliva + + * flow.c (calculate_global_regs_live): Clear aux fields of + ENTRY and EXIT. + 2002-03-22 Jakub Jelinek * config/v850/v850.c (v850_reorg): Only call alter_subreg on diff --git a/gcc/flow.c b/gcc/flow.c index 71ed939da63..61008e630e0 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); -- 2.30.2