diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-30 13:29:51 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-30 13:29:51 +0000 |
commit | 4122c2d468cf0f8912ac09c67c4aec14347bfda1 (patch) | |
tree | c2daa0843ce51836927c876cdf0efada31c93249 /gcc/lambda-code.c | |
parent | e44348b5a67cb32a21fd5dd2250eee8ed4f997c5 (diff) | |
download | gcc-4122c2d468cf0f8912ac09c67c4aec14347bfda1.tar.gz |
* tree-scalar-evolution.c (scev_const_prop): Do not create labels.
* tree-ssa-sink.c (statement_sink_location): Return basic block and
bsi of the location where statements should be inserted.
(sink_code_in_bb): Take bsi from statement_sink_location.
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use bsi_after_labels
instead of bsi_start.
* tree-profile.c (tree_gen_ic_func_profiler): Pass BSI_NEW_STMT to
bsi_insert_after.
* tree-cfg.c (bsi_move_after): Pass BSI_NEW_STMT to bsi_insert_after.
(bsi_move_before): Document inconsistency with bsi_move_after.
(tree_redirect_edge_and_branch): Do not create labels if not necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lambda-code.c')
-rw-r--r-- | gcc/lambda-code.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c index 579c3d3fb7f..62fd245b235 100644 --- a/gcc/lambda-code.c +++ b/gcc/lambda-code.c @@ -1881,8 +1881,8 @@ lambda_loopnest_to_gcc_loopnest (struct loop *old_loopnest, exit = single_exit (temp); exitcond = get_loop_exit_condition (temp); bb = bb_for_stmt (exitcond); - bsi = bsi_start (bb); - bsi_insert_after (&bsi, stmts, BSI_NEW_STMT); + bsi = bsi_after_labels (bb); + bsi_insert_before (&bsi, stmts, BSI_NEW_STMT); /* Create the new iv. */ |