summaryrefslogtreecommitdiff
path: root/libgfortran/generated/count_4_l16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/count_4_l16.c')
-rw-r--r--libgfortran/generated/count_4_l16.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libgfortran/generated/count_4_l16.c b/libgfortran/generated/count_4_l16.c
index bad5d5e8a8e..df29e33961e 100644
--- a/libgfortran/generated/count_4_l16.c
+++ b/libgfortran/generated/count_4_l16.c
@@ -62,11 +62,6 @@ count_4_l16 (gfc_array_i4 * const restrict retarray,
dim = (*pdim) - 1;
rank = GFC_DESCRIPTOR_RANK (array) - 1;
- /* TODO: It should be a front end job to correctly set the strides. */
-
- if (array->dim[0].stride == 0)
- array->dim[0].stride = 1;
-
len = array->dim[dim].ubound + 1 - array->dim[dim].lbound;
delta = array->dim[dim].stride;
@@ -103,9 +98,6 @@ count_4_l16 (gfc_array_i4 * const restrict retarray,
}
else
{
- if (retarray->dim[0].stride == 0)
- retarray->dim[0].stride = 1;
-
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect");
}