diff options
Diffstat (limited to 'libgfortran/generated/minloc0_8_i2.c')
-rw-r--r-- | libgfortran/generated/minloc0_8_i2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/minloc0_8_i2.c b/libgfortran/generated/minloc0_8_i2.c index d6055820c8a..936cdf5d8d7 100644 --- a/libgfortran/generated/minloc0_8_i2.c +++ b/libgfortran/generated/minloc0_8_i2.c @@ -148,7 +148,7 @@ minloc0_8_i2 (gfc_array_i8 * const restrict retarray, frequently used path so probably not worth it. */ base -= sstride[n] * extent[n]; n++; - if (n == rank) + if (n >= rank) { /* Break out of the loop. */ base = NULL; @@ -315,7 +315,7 @@ mminloc0_8_i2 (gfc_array_i8 * const restrict retarray, base -= sstride[n] * extent[n]; mbase -= mstride[n] * extent[n]; n++; - if (n == rank) + if (n >= rank) { /* Break out of the loop. */ base = NULL; |