*** empty log message ***
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 21 May 1992 19:34:17 +0000 (15:34 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 21 May 1992 19:34:17 +0000 (15:34 -0400)
From-SVN: r1043

gcc/reorg.c

index ff8c24cbbc921e2eedda22aff7cac749100a236c..080e7f7e8ced7acb9fa4ac68983c39d9e2dc7ab2 100644 (file)
@@ -3257,6 +3257,8 @@ relax_delay_slots (first)
 #endif
          )
        {
+         int i;
+
          /* All this insn does is execute its delay list and jump to the
             following insn.  So delete the jump and just execute the delay
             list insns.
@@ -3266,6 +3268,11 @@ relax_delay_slots (first)
             This allows the count of the jump target to be properly
             decremented.  */
 
+         /* Clear the from target bit, since these insns are no longer
+            in delay slots.  */
+         for (i = 0; i < XVECLEN (pat, 0); i++)
+           INSN_FROM_TARGET_P (XVECEXP (pat, 0, i)) = 0;
+
          trial = PREV_INSN (insn);
          delete_insn (insn);
          emit_insn_after (pat, trial);