aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1993-10-08 17:55:28 +0000
committerDoug Evans <dje@gnu.org>1993-10-08 17:55:28 +0000
commit202a34fdb3771e22546959c437a6c2ed9d7f0337 (patch)
tree205c92ae27cab657817c209161b20cc2612c0ef9
parentfc1557074c0b134c2dc91a6879dfdafea976d15f (diff)
downloadgcc-202a34fdb3771e22546959c437a6c2ed9d7f0337.zip
gcc-202a34fdb3771e22546959c437a6c2ed9d7f0337.tar.gz
gcc-202a34fdb3771e22546959c437a6c2ed9d7f0337.tar.bz2
(scan_loop): When skipping consecutive insns, don't count notes.
From-SVN: r5682
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 6f68b58..a22e8a0 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. */