From: Daniel Berlin Date: Tue, 28 Aug 2001 23:38:12 +0000 (+0000) Subject: ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable blocks, the BB_REACH... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0c39f1bd5bba4eede3377639e00a5cce968291e;p=platform%2Fupstream%2Fgcc.git 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 * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4fd0995..7ecd770 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-08-28 Daniel Berlin + + * 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 * config/mips/crtn.asm: Add comment explaining 16 byte alignment. diff --git a/gcc/ssa-ccp.c b/gcc/ssa-ccp.c index 231f71a..3c64ff0 100644 --- a/gcc/ssa-ccp.c +++ b/gcc/ssa-ccp.c @@ -936,10 +936,7 @@ ssa_ccp_df_delete_unreachable_insns () { basic_block b = BASIC_BLOCK (i); - if (b->aux != NULL) - /* This block was found. Tidy up the mark. */ - b->aux = NULL; - else + if (!(b->flags & BB_REACHABLE)) { rtx start = b->head; rtx end = b->end;