summaryrefslogtreecommitdiff
path: root/libgfortran/generated/parity_l8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/parity_l8.c')
-rw-r--r--libgfortran/generated/parity_l8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/parity_l8.c b/libgfortran/generated/parity_l8.c
index 9e6e1ffa4c7..d22c9a55371 100644
--- a/libgfortran/generated/parity_l8.c
+++ b/libgfortran/generated/parity_l8.c
@@ -167,9 +167,9 @@ parity_l8 (gfc_array_l8 * 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;
}