diff options
Diffstat (limited to 'libgfortran/generated/iparity_i4.c')
-rw-r--r-- | libgfortran/generated/iparity_i4.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgfortran/generated/iparity_i4.c b/libgfortran/generated/iparity_i4.c index 682b1705dcb1..20798423f5c8 100644 --- a/libgfortran/generated/iparity_i4.c +++ b/libgfortran/generated/iparity_i4.c @@ -167,9 +167,9 @@ iparity_i4 (gfc_array_i4 * const restrict retarray, base -= sstride[n] * extent[n]; dest -= dstride[n] * extent[n]; n++; - if (n == rank) + if (n >= rank) { - /* Break out of the look. */ + /* Break out of the loop. */ continue_loop = 0; break; } @@ -344,9 +344,9 @@ miparity_i4 (gfc_array_i4 * const restrict retarray, mbase -= mstride[n] * extent[n]; dest -= dstride[n] * extent[n]; n++; - if (n == rank) + if (n >= rank) { - /* Break out of the look. */ + /* Break out of the loop. */ base = NULL; break; } @@ -484,7 +484,7 @@ siparity_i4 (gfc_array_i4 * const restrict retarray, frequently used path so probably not worth it. */ dest -= dstride[n] * extent[n]; n++; - if (n == rank) + if (n >= rank) return; else { |