summaryrefslogtreecommitdiff
path: root/libgfortran/generated/minloc0_8_i8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/minloc0_8_i8.c')
-rw-r--r--libgfortran/generated/minloc0_8_i8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/generated/minloc0_8_i8.c b/libgfortran/generated/minloc0_8_i8.c
index 5941eb4c4b1..f2ee93ca544 100644
--- a/libgfortran/generated/minloc0_8_i8.c
+++ b/libgfortran/generated/minloc0_8_i8.c
@@ -195,6 +195,9 @@ mminloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array,
if (array->dim[0].stride == 0)
array->dim[0].stride = 1;
+ if (mask->dim[0].stride == 0)
+ mask->dim[0].stride = 1;
+
dstride = retarray->dim[0].stride;
dest = retarray->data;
for (n = 0; n < rank; n++)