ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable blocks, the BB_REACH...
authorDaniel Berlin <dan@cgsoftware.com>
Tue, 28 Aug 2001 23:38:12 +0000 (23:38 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Tue, 28 Aug 2001 23:38:12 +0000 (23:38 +0000)
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

gcc/ChangeLog
gcc/ssa-ccp.c

index 4fd0995..7ecd770 100644 (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>
 
        * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
index 231f71a..3c64ff0 100644 (file)
@@ -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;