diff options
Diffstat (limited to 'libgfortran/generated/minloc1_8_r4.c')
-rw-r--r-- | libgfortran/generated/minloc1_8_r4.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libgfortran/generated/minloc1_8_r4.c b/libgfortran/generated/minloc1_8_r4.c index a47ef259afa..643ffa483a1 100644 --- a/libgfortran/generated/minloc1_8_r4.c +++ b/libgfortran/generated/minloc1_8_r4.c @@ -64,11 +64,6 @@ minloc1_8_r4 (gfc_array_i8 * 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; @@ -105,9 +100,6 @@ minloc1_8_r4 (gfc_array_i8 * 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"); } @@ -210,14 +202,6 @@ mminloc1_8_r4 (gfc_array_i8 * 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; - - if (mask->dim[0].stride == 0) - mask->dim[0].stride = 1; - len = array->dim[dim].ubound + 1 - array->dim[dim].lbound; if (len <= 0) return; @@ -259,9 +243,6 @@ mminloc1_8_r4 (gfc_array_i8 * 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"); } @@ -392,9 +373,6 @@ sminloc1_8_r4 (gfc_array_i8 * const restrict retarray, if (retarray->dim[0].ubound + 1 - retarray->dim[0].lbound != rank) runtime_error ("dimension of return array incorrect"); - - if (retarray->dim[0].stride == 0) - retarray->dim[0].stride = 1; } dstride = retarray->dim[0].stride; |