Commit 4791d99b by Richard Kenner

(redirect_with_delay_list_safe_p): Fix off-by-one error.

From-SVN: r7145
parent 008f0d36
...@@ -1516,14 +1516,14 @@ redirect_with_delay_list_safe_p (jump, newlabel, delay_list) ...@@ -1516,14 +1516,14 @@ redirect_with_delay_list_safe_p (jump, newlabel, delay_list)
#ifdef ANNUL_IFFALSE_SLOTS #ifdef ANNUL_IFFALSE_SLOTS
(INSN_ANNULLED_BRANCH_P (jump) (INSN_ANNULLED_BRANCH_P (jump)
&& INSN_FROM_TARGET_P (XEXP (li, 0))) && 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 #endif
#ifdef ANNUL_IFTRUE_SLOTS #ifdef ANNUL_IFTRUE_SLOTS
(INSN_ANNULLED_BRANCH_P (jump) (INSN_ANNULLED_BRANCH_P (jump)
&& ! INSN_FROM_TARGET_P (XEXP (li, 0))) && ! 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 #endif
eligible_for_delay (jump, i - 1, XEXP (li, 0), flags))) eligible_for_delay (jump, i, XEXP (li, 0), flags)))
break; break;
return (li == NULL); return (li == NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment