From: Kazu Hirata Date: Tue, 17 Feb 2004 19:57:15 +0000 (+0000) Subject: h8300.c (h8300_expand_prologue): Don't generate insns by hand. X-Git-Tag: releases/gcc-4.0.0~10063 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6552458ac313505a93fcb0651b2c9ae911988656;p=thirdparty%2Fgcc.git 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 --- 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. */