Commit b6500984 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/37323 (__builtin_apply failures)

	PR middle-end/37323
	* builtins.c (expand_builtin_apply_args): Emit sequence before
	parm_birth_insn instead of after entry_of_function's first insn.

From-SVN: r142116
parent bbd46fd5
2008-11-22 Jakub Jelinek <jakub@redhat.com> 2008-11-22 Jakub Jelinek <jakub@redhat.com>
PR middle-end/37323
* builtins.c (expand_builtin_apply_args): Emit sequence before
parm_birth_insn instead of after entry_of_function's first insn.
PR middle-end/37316 PR middle-end/37316
* function.c (assign_parm_remove_parallels): Pass * function.c (assign_parm_remove_parallels): Pass
data->passed_type as third argument to emit_group_store. data->passed_type as third argument to emit_group_store.
......
...@@ -1436,7 +1436,7 @@ expand_builtin_apply_args (void) ...@@ -1436,7 +1436,7 @@ expand_builtin_apply_args (void)
chain current, so the code is placed at the start of the chain current, so the code is placed at the start of the
function. */ function. */
push_topmost_sequence (); push_topmost_sequence ();
emit_insn_before (seq, NEXT_INSN (entry_of_function ())); emit_insn_before (seq, parm_birth_insn);
pop_topmost_sequence (); pop_topmost_sequence ();
return temp; return temp;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment