re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays)
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 19 Oct 2006 21:48:50 +0000 (21:48 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 19 Oct 2006 21:48:50 +0000 (21:48 +0000)
commit3d894fc3f045e430b67aae82aa68dd818816ac90
tree25894134c7e725dd6026b7d0c821b145999ec721
parent6b7283ac665c92e61ef94de219cf370f44e58c48
re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays)

PR libfortran/27895

* intrinsics/cshift0.c: Special cases for zero-sized arrays.
* intrinsics/pack_generic.c: Likewise.
* intrinsics/spread_generic.c: Likewise.

* gfortran.dg/zero_sized_1.f90: New test.

From-SVN: r117890
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/zero_sized_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/cshift0.c
libgfortran/intrinsics/pack_generic.c
libgfortran/intrinsics/spread_generic.c