ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable blocks, the BB_REACHABLE is now set, rather than aux being non-NULL.

2001-08-28  Daniel Berlin  <dan@cgsoftware.com>

	* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
	blocks, the BB_REACHABLE is now set, rather than aux being
	non-NULL. Update the test to reflect this.

From-SVN: r45245
This commit is contained in:
Daniel Berlin 2001-08-28 23:38:12 +00:00 committed by Daniel Berlin
parent a098df27dd
commit e0c39f1bd5
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-08-28 Daniel Berlin <dan@cgsoftware.com>
* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
blocks, the BB_REACHABLE is now set, rather than aux being
non-NULL. Update the test to reflect this.
2001-08-28 Eric Christopher <echristo@redhat.com> 2001-08-28 Eric Christopher <echristo@redhat.com>
* config/mips/crtn.asm: Add comment explaining 16 byte alignment. * config/mips/crtn.asm: Add comment explaining 16 byte alignment.

View File

@ -936,10 +936,7 @@ ssa_ccp_df_delete_unreachable_insns ()
{ {
basic_block b = BASIC_BLOCK (i); basic_block b = BASIC_BLOCK (i);
if (b->aux != NULL) if (!(b->flags & BB_REACHABLE))
/* This block was found. Tidy up the mark. */
b->aux = NULL;
else
{ {
rtx start = b->head; rtx start = b->head;
rtx end = b->end; rtx end = b->end;