From fff369f22c8f50cd4b6040f7860d38fed7aeb963 Mon Sep 17 00:00:00 2001 From: jb Date: Tue, 6 Jun 2006 08:10:09 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114424 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/generated/reshape_r10.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'libgfortran/generated/reshape_r10.c') diff --git a/libgfortran/generated/reshape_r10.c b/libgfortran/generated/reshape_r10.c index faf8b22913e..fe514c72173 100644 --- a/libgfortran/generated/reshape_r10.c +++ b/libgfortran/generated/reshape_r10.c @@ -1,5 +1,5 @@ /* Implementation of the RESHAPE - Copyright 2002 Free Software Foundation, Inc. + Copyright 2002, 2006 Free Software Foundation, Inc. Contributed by Paul Brook This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -84,15 +84,6 @@ reshape_r10 (gfc_array_r10 * const restrict ret, int n; int dim; - if (source->dim[0].stride == 0) - source->dim[0].stride = 1; - if (shape->dim[0].stride == 0) - shape->dim[0].stride = 1; - if (pad && pad->dim[0].stride == 0) - pad->dim[0].stride = 1; - if (order && order->dim[0].stride == 0) - order->dim[0].stride = 1; - if (ret->data == NULL) { rdim = shape->dim[0].ubound - shape->dim[0].lbound + 1; @@ -112,8 +103,6 @@ reshape_r10 (gfc_array_r10 * const restrict ret, else { rdim = GFC_DESCRIPTOR_RANK (ret); - if (ret->dim[0].stride == 0) - ret->dim[0].stride = 1; } rsize = 1; -- cgit v1.2.1