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
This commit is contained in:
Alexandre Oliva 2002-03-22 19:54:34 +00:00 committed by Alexandre Oliva
parent 68882f0f81
commit 70e0ccd0a0
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-03-22 Alexandre Oliva <aoliva@redhat.com>
* flow.c (calculate_global_regs_live): Clear aux fields of
ENTRY and EXIT.
2002-03-22 Jakub Jelinek <jakub@redhat.com>
* config/v850/v850.c (v850_reorg): Only call alter_subreg on

View File

@ -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);