From ac2248231c97534516c1d9aa360e6be7555bbc3f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 21 May 1992 15:34:17 -0400 Subject: [PATCH] *** empty log message *** From-SVN: r1043 --- gcc/reorg.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/reorg.c b/gcc/reorg.c index ff8c24cbbc9..080e7f7e8ce 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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); -- 2.30.2