summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 3735d795e3a..42f52ff69c2 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -10746,7 +10746,7 @@ loop_dump_aux (loop, file, verbose)
/* This can happen when a marked loop appears as two nested loops,
say from while (a || b) {}. The inner loop won't match
the loop markers but the outer one will. */
- if (LOOP_BLOCK_NUM (loop->cont) != loop->latch->index)
+ if (LOOP_BLOCK_NUM (loop->cont) != loop->latch->sindex)
fprintf (file, ";; NOTE_INSN_LOOP_CONT not in loop latch\n");
}
}