summaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-02 13:05:36 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-02 13:05:36 +0000
commit306d9c02ee0801d023909806fa094ff68a8578b8 (patch)
treee16c886c00e7c4c7bd7f6e4ba89378213ccc7f6a /gcc/lambda-code.c
parent55d97af6b3edb27a7158cacef3149e71c81d7b4c (diff)
downloadgcc-306d9c02ee0801d023909806fa094ff68a8578b8.tar.gz
2006-02-02 Paolo Bonzini <bonzini@gnu.org>
* tree-flow-inline.h (bsi_after_labels): Rewrite, return what its name says. * lambda-code.c (perfect_nestify): Use bsi_insert_before on bsi_after_labels iterator. * tree-if-conv.c (find_phi_replacement_condition, replace_phi_with_cond_modify_expr): Likewise. * tree-scalar-evolution.c (scev_const_prop): Likewise. * tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lambda-code.c')
-rw-r--r--gcc/lambda-code.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c
index c19ea6cfa54..ee1d1692e47 100644
--- a/gcc/lambda-code.c
+++ b/gcc/lambda-code.c
@@ -2556,7 +2556,7 @@ perfect_nestify (struct loops *loops,
newname = make_ssa_name (newname, newstmt);
TREE_OPERAND (newstmt, 0) = newname;
SET_USE (use_p, TREE_OPERAND (newstmt, 0));
- bsi_insert_after (&tobsi, newstmt, BSI_SAME_STMT);
+ bsi_insert_before (&tobsi, newstmt, BSI_SAME_STMT);
update_stmt (newstmt);
update_stmt (imm_stmt);
}