diff options
author | Thomas Koenig <Thomas.Koenig@online.de> | 2006-04-16 20:29:24 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2006-04-16 20:29:24 +0000 |
commit | 3c86fb4e17941da9eb4026bda6301bf0a74a96fe (patch) | |
tree | 50e4ad3d8a48e6299d17a219b0a2d98448670795 /libjava/testsuite/libjava.lang/Serialization.java | |
parent | e13d2b4e53067e117eb250bbf39c948ec6bd48e6 (diff) | |
download | gcc-3c86fb4e17941da9eb4026bda6301bf0a74a96fe.zip gcc-3c86fb4e17941da9eb4026bda6301bf0a74a96fe.tar.gz gcc-3c86fb4e17941da9eb4026bda6301bf0a74a96fe.tar.bz2 |
re PR fortran/26017 (allocate (a(1:-1)) should yield zero-sized array)
2006-04-16 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/26017
* trans-array.c(gfc_array_init_size): Introduce or_expr
which is true if the size along any dimension
is negative. Create a temporary variable with base
name size. If or_expr is true, set the temporary to 0,
to the normal size otherwise.
2006-04-16 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/allocate_zerosize_1.f90: New test.
From-SVN: r112988
Diffstat (limited to 'libjava/testsuite/libjava.lang/Serialization.java')
0 files changed, 0 insertions, 0 deletions