alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_e...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 2 Mar 2007 18:01:37 +0000 (18:01 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 2 Mar 2007 18:01:37 +0000 (18:01 +0000)
* config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the
entry by means of emit_insn_at_entry.

From-SVN: r122480

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 63d305f5a7f77896ae524cce8549195142ac29c9..58d89ae689e4002d4488fb73843ba8a48482b53a 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-02  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * 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  <rth@redhat.com>
 
        * expr.h (promoted_input_arg): Remove decl.
index 023bbcc92f7d8fee6e59641e68e04e6ee82c225f..1af68f98bc35f185650a94af75ceb27ad8540740 100644 (file)
@@ -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;
     }