From 6552458ac313505a93fcb0651b2c9ae911988656 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 17 Feb 2004 19:57:15 +0000 Subject: [PATCH] h8300.c (h8300_expand_prologue): Don't generate insns by hand. * config/h8300/h8300.c (h8300_expand_prologue): Don't generate insns by hand. From-SVN: r77975 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33c57331d0fc..3deefe383d30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-17 Kazu Hirata + + * config/h8300/h8300.c (h8300_expand_prologue): Don't generate + insns by hand. + 2004-02-17 Zdenek Dvorak * cfghooks.c (split_edge): Speed up updating of dominators. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index eedc1fbe9545..a06f87ced6eb 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -512,8 +512,7 @@ h8300_expand_prologue (void) { /* Push fp. */ push (HARD_FRAME_POINTER_REGNUM); - emit_insn (gen_rtx_SET (Pmode, hard_frame_pointer_rtx, - stack_pointer_rtx)); + emit_move_insn (hard_frame_pointer_rtx, stack_pointer_rtx); } /* Push the rest of the registers in ascending order. */ -- 2.47.2