aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-09-25 21:34:45 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-09-25 21:34:45 +0000
commitcf1bcf06a155b103c96246d28e2e2e6ce1a180aa (patch)
treef16c202bbfc408429913becbb1fb0f82f4b96a2e /gcc/tree-inline.c
parentde5142553aa453b81ef97e6f433f2e9de3c3c660 (diff)
downloadgcc-cf1bcf06a155b103c96246d28e2e2e6ce1a180aa.zip
gcc-cf1bcf06a155b103c96246d28e2e2e6ce1a180aa.tar.gz
gcc-cf1bcf06a155b103c96246d28e2e2e6ce1a180aa.tar.bz2
tree-inline.c (copy_bb): Use GSI_CONTINUE_LINKING when inserting new statements because of the return...
* tree-inline.c (copy_bb): Use GSI_CONTINUE_LINKING when inserting new statements because of the return slot optimization. From-SVN: r164622
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 8a53d5e..b0627be 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1558,7 +1558,8 @@ copy_bb (copy_body_data *id, basic_block bb, int frequency_scale,
tree new_rhs;
new_rhs = force_gimple_operand_gsi (&seq_gsi,
gimple_assign_rhs1 (stmt),
- true, NULL, false, GSI_NEW_STMT);
+ true, NULL, false,
+ GSI_CONTINUE_LINKING);
gimple_assign_set_rhs1 (stmt, new_rhs);
id->regimplify = false;
}