diff options
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index 4e15336..97e968e 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -3669,7 +3669,7 @@ loop_iterations (loop) increment = fold_rtx_mult_add (v->mult_val, extend_value_for_giv (v, increment), const0_rtx, v->mode); - /* The caller assumes that one full increment has occured at the + /* The caller assumes that one full increment has occurred at the first loop test. But that's not true when the biv is incremented after the giv is set (which is the usual case), e.g.: i = 6; do {;} while (i++ < 9) . |