(iq2000_expand_epilogue): Use emit_jump_insn() to generate the return
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 14:52:49 +0000 (14:52 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Oct 2004 14:52:49 +0000 (14:52 +0000)
  instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89762 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/iq2000/iq2000.c

index ac658b4..52538cb 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-28  Nick Clifton  <nickc@redhat.com>
+
+       * config/iq2000/iq2000.c (iq2000_expand_epilogue): Use
+       emit_jump_insn() to generate the return instruction.
+
 2004-10-28  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-phinodes.c: Remove trailing whitespace.
index a93e794..6871d0a 100644 (file)
@@ -2297,7 +2297,7 @@ iq2000_expand_epilogue (void)
 
   if (iq2000_can_use_return_insn ())
     {
-      emit_insn (gen_return ());
+      emit_jump_insn (gen_return ());
       return;
     }