From: Eric Botcazou Date: Fri, 2 Mar 2007 18:01:37 +0000 (+0000) Subject: alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_e... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0759b73927bfa662a8140c29f6c2352a58f9dc6;p=gcc.git alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_entry. * config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_entry. From-SVN: r122480 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63d305f5a7f..58d89ae689e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-03-02 Eric Botcazou + + * config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the + entry by means of emit_insn_at_entry. + 2007-03-02 Richard Henderson * expr.h (promoted_input_arg): Remove decl. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 023bbcc92f7..1af68f98bc3 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -4781,7 +4781,7 @@ alpha_gp_save_rtx (void) seq = get_insns (); end_sequence (); - emit_insn_after (seq, entry_of_function ()); + emit_insn_at_entry (seq); cfun->machine->gp_save_rtx = m; }