aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
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 c19ea6c..ee1d169 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);
}