From 202a34fdb3771e22546959c437a6c2ed9d7f0337 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 8 Oct 1993 17:55:28 +0000 Subject: [PATCH] (scan_loop): When skipping consecutive insns, don't count notes. From-SVN: r5682 --- gcc/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2