re PR fortran/49479 (reshape / optionals / zero sized arrays)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 28 Jun 2011 18:59:04 +0000 (18:59 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 28 Jun 2011 18:59:04 +0000 (18:59 +0000)
commit19b76346c046b95ee4360a5c35d1e3a846aba6f4
tree065be10e884faa1cf29e82bd342b95d03ee62f80
parent6138f9bd8783881a1bd7dcfb917a3bfcefcf8cf9
re PR fortran/49479 (reshape / optionals / zero sized arrays)

2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/49479
* m4/reshape.m4: If source allocation is smaller than one, set it
to one.
* intrinsics/reshape_generic.c:  Likewise.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.

2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/49479
* gfortran.dg/reshape_zerosize_3.f90:  New test.

From-SVN: r175594
16 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/reshape_zerosize_3.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/generated/reshape_c10.c
libgfortran/generated/reshape_c16.c
libgfortran/generated/reshape_c4.c
libgfortran/generated/reshape_c8.c
libgfortran/generated/reshape_i16.c
libgfortran/generated/reshape_i4.c
libgfortran/generated/reshape_i8.c
libgfortran/generated/reshape_r10.c
libgfortran/generated/reshape_r16.c
libgfortran/generated/reshape_r4.c
libgfortran/generated/reshape_r8.c
libgfortran/intrinsics/reshape_generic.c
libgfortran/m4/reshape.m4