From: Richard Kenner Date: Sun, 24 Apr 1994 15:30:17 +0000 (-0400) Subject: (redirect_with_delay_list_safe_p): Fix off-by-one error. X-Git-Tag: misc/cutover-egcs-0~6798 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4791d99b588f73e575285806f6a2ba967a7df419;p=thirdparty%2Fgcc.git (redirect_with_delay_list_safe_p): Fix off-by-one error. From-SVN: r7145 --- diff --git a/gcc/reorg.c b/gcc/reorg.c index 3f6a992e6723..b44bcfcde72a 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);