tree-flow.h (bb_ann_d): Remove has_escape_site.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 24 May 2005 19:57:52 +0000 (19:57 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 24 May 2005 19:57:52 +0000 (19:57 +0000)
* tree-flow.h (bb_ann_d): Remove has_escape_site.
* tree-ssa-alias.c (compute_points_to_addr_escape): Don't
write to has_escape_site.

From-SVN: r100109

gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-ssa-alias.c

index a704cd05ed21cb2acd4ac62d219b95debeac7896..71ae0c62c6757bdf8942855aace1d566f6dcf30d 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-flow.h (bb_ann_d): Remove has_escape_site.
+       * tree-ssa-alias.c (compute_points_to_addr_escape): Don't
+       write to has_escape_site.
+
 2005-05-24  Jeff Law  <law@redhat.com>
 
        * Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
index 348b16d8445be22bd1f09aba4277a4f9b2f8598f..974e8b0ca87542b08e3090456f4c6b2be5e042f6 100644 (file)
@@ -385,9 +385,6 @@ struct bb_ann_d GTY(())
   /* Chain of PHI nodes for this block.  */
   tree phi_nodes;
 
-  /* Nonzero if this block contains an escape point (see is_escape_site).  */
-  unsigned has_escape_site : 1;
-
   /* Nonzero if one or more incoming edges to this block should be threaded
      to an outgoing edge of this block.  */
   unsigned incoming_edge_threaded : 1;
index 5e796c1da5225a4f0cc9b4113dc9341dc906db5e..2ed712bea70d6ba189d968f57bceeb18d3137d2a 100644 (file)
@@ -642,7 +642,6 @@ compute_points_to_and_addr_escape (struct alias_info *ai)
 
   FOR_EACH_BB (bb)
     {
-      bb_ann_t block_ann = bb_ann (bb);
       block_stmt_iterator si;
 
       for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si))
@@ -666,9 +665,6 @@ compute_points_to_and_addr_escape (struct alias_info *ai)
                  mark_call_clobbered (var);
              }
 
-         if (stmt_escapes_p)
-           block_ann->has_escape_site = 1;
-
          FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_USE)
            {
              var_ann_t v_ann = var_ann (SSA_NAME_VAR (op));