Message ID | BANLkTi=+EmG5fP1rc_Y-oHHpr1v9VOz4cw@mail.gmail.com |
---|---|
State | New |
Headers | show |
--- loop-doloop.c 2011-05-07 16:08:27.000000000 +0300 +++ loop-doloop_new.c 2011-05-07 16:07:48.000000000 +0300 @@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat) inc = XVECEXP (PATTERN (prev_insn), 0, 1); } else - inc = PATTERN (PREV_INSN (doloop_pat)); + inc = PATTERN (prev_insn); /* We expect the condition to be of the form (reg != 0) */ cond = XEXP (SET_SRC (cmp), 0); if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx)