aboutsummaryrefslogtreecommitdiff
path: root/gcc/ssa-ccp.c
diff options
context:
space:
mode:
authorDaniel Berlin <dan@cgsoftware.com>2001-08-28 23:38:12 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2001-08-28 23:38:12 +0000
commite0c39f1bd5bba4eede3377639e00a5cce968291e (patch)
treee9d771ea4320fc4cbcf09bb5ac04d88745ecb77b /gcc/ssa-ccp.c
parenta098df27ddb4274c9cb759b8071a948e1e16f114 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/ssa-ccp.c')
-rw-r--r--gcc/ssa-ccp.c5
1 files changed, 1 insertions, 4 deletions
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;