aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-03-02 18:01:37 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-03-02 18:01:37 +0000
commite0759b73927bfa662a8140c29f6c2352a58f9dc6 (patch)
tree778d52e15ded4668589c346ee9763d79aed0d65b /gcc
parent962f383322622d12393b4a5d1b4a5fade831d51d (diff)
downloadgcc-e0759b73927bfa662a8140c29f6c2352a58f9dc6.zip
gcc-e0759b73927bfa662a8140c29f6c2352a58f9dc6.tar.gz
gcc-e0759b73927bfa662a8140c29f6c2352a58f9dc6.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/alpha.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 63d305f..58d89ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 023bbcc..1af68f9 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;
}