OSDN Git Service

* tree-cfg.c (remove_bb): Remove a redundant call to
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2005 21:47:31 +0000 (21:47 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2005 21:47:31 +0000 (21:47 +0000)
set_bb_for_stmt.
* tree-if-conv.c (replace_phi_with_cond_modify_expr):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99183 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-if-conv.c

index 5467696..b565816 100644 (file)
@@ -7,6 +7,11 @@
        aux.
        * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
 
+       * tree-cfg.c (remove_bb): Remove a redundant call to
+       set_bb_for_stmt.
+       * tree-if-conv.c (replace_phi_with_cond_modify_expr):
+       Likewise.
+
 2005-05-03  Richard Henderson  <rth@redhat.com>
 
        * config/rs6000/rs6000.c: Remove conflict markers.
index 26dced0..ccafd9a 100644 (file)
@@ -1974,7 +1974,6 @@ remove_bb (basic_block bb)
         {
          release_defs (stmt);
 
-         set_bb_for_stmt (stmt, NULL);
          bsi_remove (&i);
        }
 
index ed3f2f7..2d72eea 100644 (file)
@@ -799,9 +799,7 @@ replace_phi_with_cond_modify_expr (tree phi, tree cond, basic_block true_bb,
   /* Make new statement definition of the original phi result.  */
   SSA_NAME_DEF_STMT (PHI_RESULT (phi)) = new_stmt;
 
-  /* Set basic block and insert using iterator.  */
-  set_bb_for_stmt (new_stmt, bb);
-
+  /* Insert using iterator.  */
   bsi_insert_after (bsi, new_stmt, BSI_SAME_STMT);
   bsi_next (bsi);