diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/builtins.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca87591..5704694 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/builtins.c b/gcc/builtins.c index 0e5b834..a6ee5a9 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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; } |