From: Doug Evans Date: Fri, 8 Oct 1993 17:55:28 +0000 (+0000) Subject: (scan_loop): When skipping consecutive insns, don't count notes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=202a34fdb3771e22546959c437a6c2ed9d7f0337;p=gcc.git (scan_loop): When skipping consecutive insns, don't count notes. From-SVN: r5682 --- diff --git a/gcc/loop.c b/gcc/loop.c index 6f68b58c5b3..a22e8a0b856 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -796,7 +796,7 @@ scan_loop (loop_start, end, nregs) if (m->consec > 0) { /* Skip this insn, not checking REG_LIBCALL notes. */ - p = NEXT_INSN (p); + p = next_nonnote_insn (p); /* Skip the consecutive insns, if there are any. */ p = skip_consec_insns (p, m->consec); /* Back up to the last insn of the consecutive group. */