From 6ff24d45dc7bf2691b6c2c3f9e9830360dc572a6 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Tue, 6 Jun 2006 11:10:09 +0300 Subject: in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 Janne Blomqvist * m4/in_pack.m4: Add TODO comment about detecting temporaries, remove test for stride 0, update copyright year. * m4/transpose.m4: Remove test for stride 0, update copyright year. * m4/iforeach.m4: Likewise. * m4/shape.m4: Likewise. * m4/in_unpack.m4: Likewise. * m4/reshape.m4: Likewise. * m4/ifunction.m4: Likewise. * m4/matmul.m4: Likewise. * m4/matmull.m4: Likewise. * intrinsics/etime.c: Likewise. * intrinsics/transpose_generic.c: Likewise. * intrinsics/spread_generic.c: Likewise. * intrinsics/stat.c: Likewise. * intrinsics/reshape_generic.c: Likewise. * intrinsics/random.c: Likewise. * generated/*: Regenerated from above changed m4 files. From-SVN: r114424 --- libgfortran/generated/minloc0_8_i8.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'libgfortran/generated/minloc0_8_i8.c') diff --git a/libgfortran/generated/minloc0_8_i8.c b/libgfortran/generated/minloc0_8_i8.c index 01090ed..00d737e 100644 --- a/libgfortran/generated/minloc0_8_i8.c +++ b/libgfortran/generated/minloc0_8_i8.c @@ -76,16 +76,8 @@ minloc0_8_i8 (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; } - /* TODO: It should be a front end job to correctly set the strides. */ - - if (array->dim[0].stride == 0) - array->dim[0].stride = 1; - dstride = retarray->dim[0].stride; dest = retarray->data; for (n = 0; n < rank; n++) @@ -196,19 +188,8 @@ mminloc0_8_i8 (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; } - /* 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; - dstride = retarray->dim[0].stride; dest = retarray->data; for (n = 0; n < rank; n++) @@ -335,9 +316,6 @@ sminloc0_8_i8 (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; -- cgit v1.1