diff options
author | Daniel Berlin <dan@cgsoftware.com> | 2001-08-28 23:38:12 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2001-08-28 23:38:12 +0000 |
commit | e0c39f1bd5bba4eede3377639e00a5cce968291e (patch) | |
tree | e9d771ea4320fc4cbcf09bb5ac04d88745ecb77b | |
parent | a098df27ddb4274c9cb759b8071a948e1e16f114 (diff) | |
download | gcc-e0c39f1bd5bba4eede3377639e00a5cce968291e.zip gcc-e0c39f1bd5bba4eede3377639e00a5cce968291e.tar.gz gcc-e0c39f1bd5bba4eede3377639e00a5cce968291e.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ssa-ccp.c | 5 |
2 files changed, 7 insertions, 4 deletions
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 <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> * 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; |