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
This commit is contained in:
Jakub Jelinek 2008-11-22 09:28:44 +01:00 committed by Jakub Jelinek
parent bbd46fd5f2
commit b6500984e4
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
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
* function.c (assign_parm_remove_parallels): Pass
data->passed_type as third argument to emit_group_store.

View File

@ -1436,7 +1436,7 @@ expand_builtin_apply_args (void)
chain current, so the code is placed at the start of the
function. */
push_topmost_sequence ();
emit_insn_before (seq, NEXT_INSN (entry_of_function ()));
emit_insn_before (seq, parm_birth_insn);
pop_topmost_sequence ();
return temp;
}