From 2be2fbdf11f527ca99612f65680ea3522502c971 Mon Sep 17 00:00:00 2001 From: tkoenig Date: Sun, 17 Apr 2005 20:26:57 +0000 Subject: 005-04-17 Thomas Koenig PR libfortran/21075 * m4/reshape.m4 (reshape_`'rtype_kind): Change dimension of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to GFC_MAX_DIMENSIONS. * intrinsics/reshape_generic.c (reshape_generic): Likewise. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. 2005-04-17 Thomas Koenig PR libfortran/21075 * gfortran.dg/reshape_rank7.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98288 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/generated/reshape_i4.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libgfortran/generated/reshape_i4.c') diff --git a/libgfortran/generated/reshape_i4.c b/libgfortran/generated/reshape_i4.c index 454613f06b6..fbe16f293a5 100644 --- a/libgfortran/generated/reshape_i4.c +++ b/libgfortran/generated/reshape_i4.c @@ -47,25 +47,25 @@ reshape_4 (gfc_array_i4 * ret, gfc_array_i4 * source, shape_type * shape, gfc_array_i4 * pad, shape_type * order) { /* r.* indicates the return array. */ - index_type rcount[GFC_MAX_DIMENSIONS - 1]; - index_type rextent[GFC_MAX_DIMENSIONS - 1]; - index_type rstride[GFC_MAX_DIMENSIONS - 1]; + index_type rcount[GFC_MAX_DIMENSIONS]; + index_type rextent[GFC_MAX_DIMENSIONS]; + index_type rstride[GFC_MAX_DIMENSIONS]; index_type rstride0; index_type rdim; index_type rsize; GFC_INTEGER_4 *rptr; /* s.* indicates the source array. */ - index_type scount[GFC_MAX_DIMENSIONS - 1]; - index_type sextent[GFC_MAX_DIMENSIONS - 1]; - index_type sstride[GFC_MAX_DIMENSIONS - 1]; + index_type scount[GFC_MAX_DIMENSIONS]; + index_type sextent[GFC_MAX_DIMENSIONS]; + index_type sstride[GFC_MAX_DIMENSIONS]; index_type sstride0; index_type sdim; index_type ssize; const GFC_INTEGER_4 *sptr; /* p.* indicates the pad array. */ - index_type pcount[GFC_MAX_DIMENSIONS - 1]; - index_type pextent[GFC_MAX_DIMENSIONS - 1]; - index_type pstride[GFC_MAX_DIMENSIONS - 1]; + index_type pcount[GFC_MAX_DIMENSIONS]; + index_type pextent[GFC_MAX_DIMENSIONS]; + index_type pstride[GFC_MAX_DIMENSIONS]; index_type pdim; index_type psize; const GFC_INTEGER_4 *pptr; -- cgit v1.2.1