summaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-03 21:47:31 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-03 21:47:31 +0000
commitba9df5ee0c2747e07b095dd341871fa945db07c9 (patch)
treed2baee0cf0b57554e23d7a789a01476ad0160d9d /gcc/tree-if-conv.c
parentc84294a5724e1fa8fd6a5dfaf8d24550717c95d3 (diff)
downloadgcc-ba9df5ee0c2747e07b095dd341871fa945db07c9.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index ed3f2f71256..2d72eeaae00 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -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);