From c838448c89657e91d35e22ee3b3686410bf32c74 Mon Sep 17 00:00:00 2001 From: pinskia Date: Sun, 2 Jan 2005 03:46:21 +0000 Subject: 2005-01-01 Andrew Pinski PR middle-end/19221 * function.c (get_arg_pointer_save_area): Use entry_of_function instead of get_insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92802 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/function.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f5d96e559f..50263c2c6b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-01-01 Andrew Pinski + + PR middle-end/19221 + * function.c (get_arg_pointer_save_area): Use entry_of_function + instead of get_insns. + 2005-01-01 Roger Sayle Andrew Pinski James E. Wilson diff --git a/gcc/function.c b/gcc/function.c index e878dc13e1d..9f678d8f929 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4590,7 +4590,7 @@ get_arg_pointer_save_area (struct function *f) end_sequence (); push_topmost_sequence (); - emit_insn_after (seq, get_insns ()); + emit_insn_after (seq, entry_of_function ()); pop_topmost_sequence (); } -- cgit v1.2.1