diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2006-06-06 11:10:09 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2006-06-06 11:10:09 +0300 |
commit | 6ff24d45dc7bf2691b6c2c3f9e9830360dc572a6 (patch) | |
tree | 88f8e06667bc01f3aee614a92f3130c18d864edd /libgfortran/generated/maxloc1_16_i16.c | |
parent | 0d3b0abea32c88c867948cd1786bd9df3634ac89 (diff) | |
download | gcc-6ff24d45dc7bf2691b6c2c3f9e9830360dc572a6.tar.gz |
in_pack.m4: Add TODO comment about detecting temporaries...
2006-06-06 Janne Blomqvist <jb@gcc.gnu.org>
* 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
Diffstat (limited to 'libgfortran/generated/maxloc1_16_i16.c')
-rw-r--r-- | libgfortran/generated/maxloc1_16_i16.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libgfortran/generated/maxloc1_16_i16.c b/libgfortran/generated/maxloc1_16_i16.c index 9f6408b111c..7ba4fa56360 100644 --- a/libgfortran/generated/maxloc1_16_i16.c +++ b/libgfortran/generated/maxloc1_16_i16.c @@ -64,11 +64,6 @@ maxloc1_16_i16 (gfc_array_i16 * 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 @@ maxloc1_16_i16 (gfc_array_i16 * 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 @@ mmaxloc1_16_i16 (gfc_array_i16 * 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 @@ mmaxloc1_16_i16 (gfc_array_i16 * 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 @@ smaxloc1_16_i16 (gfc_array_i16 * 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; |