(find_end_label): Update insn after calling emit_jump_insn.
authorRichard Stallman <rms@gnu.org>
Sun, 16 May 1993 21:34:18 +0000 (21:34 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 16 May 1993 21:34:18 +0000 (21:34 +0000)
From-SVN: r4480

gcc/reorg.c

index 3c6291814c046a6b88499b5080bc9eb49b7e252c..3b6b20585d3fdcb8ee353f978dbcf01c718eaf9d 100644 (file)
@@ -751,8 +751,8 @@ find_end_label ()
       if (HAVE_return)
        {
          /* The return we make may have delay slots too.  */
-         rtx insn = gen_return();
-         emit_jump_insn (insn);
+         rtx insn = gen_return ();
+         insn = emit_jump_insn (insn);
          emit_barrier ();
           if (num_delay_slots (insn) > 0)
            obstack_ptr_grow (&unfilled_slots_obstack, insn);