aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-10-14 11:03:06 +0000
committerRichard Guenther <rguenther@suse.de>2011-10-14 11:03:06 +0000
commit193e5e139273f90704c90bdc396f88d70472e5df (patch)
treea9361f473540d2f7183499dc7869f1e21ab9d858 /gcc/ipa-split.c
parentac3a7bf707e4013ea25a213acbaa3c356e8c6529 (diff)
2011-10-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50723 * ipa-split.c (split_function): Use GSI_CONTINUE_LINKING. * gcc.dg/torture/pr50723.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@179967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 75cc619c042..7e0769fb592 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -1134,7 +1134,7 @@ split_function (struct split_point *split_point)
if (!is_gimple_val (arg))
{
arg = force_gimple_operand_gsi (&gsi, arg, true, NULL_TREE,
- false, GSI_NEW_STMT);
+ false, GSI_CONTINUE_LINKING);
VEC_replace (tree, args_to_pass, i, arg);
}
call = gimple_build_call_vec (node->decl, args_to_pass);