From 4791d99b588f73e575285806f6a2ba967a7df419 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 24 Apr 1994 11:30:17 -0400 Subject: [PATCH] (redirect_with_delay_list_safe_p): Fix off-by-one error. From-SVN: r7145 --- gcc/reorg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index 3f6a992e672..b44bcfcde72 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1516,14 +1516,14 @@ redirect_with_delay_list_safe_p (jump, newlabel, delay_list) #ifdef ANNUL_IFFALSE_SLOTS (INSN_ANNULLED_BRANCH_P (jump) && INSN_FROM_TARGET_P (XEXP (li, 0))) - ? eligible_for_annul_false (jump, i - 1, XEXP (li, 0), flags) : + ? eligible_for_annul_false (jump, i, XEXP (li, 0), flags) : #endif #ifdef ANNUL_IFTRUE_SLOTS (INSN_ANNULLED_BRANCH_P (jump) && ! INSN_FROM_TARGET_P (XEXP (li, 0))) - ? eligible_for_annul_true (jump, i - 1, XEXP (li, 0), flags) : + ? eligible_for_annul_true (jump, i, XEXP (li, 0), flags) : #endif - eligible_for_delay (jump, i - 1, XEXP (li, 0), flags))) + eligible_for_delay (jump, i, XEXP (li, 0), flags))) break; return (li == NULL); -- 2.30.2