OSDN Git Service

(scan_loop): When skipping consecutive insns, don't count notes.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 1993 17:55:28 +0000 (17:55 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 1993 17:55:28 +0000 (17:55 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5682 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/loop.c

index 6f68b58..a22e8a0 100644 (file)
@@ -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.  */