This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r113381 - in /branches/gcc-4_1-branch/gcc: fort...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 29 Apr 2006 21:02:06 -0000
- Subject: r113381 - in /branches/gcc-4_1-branch/gcc: fort...
Author: tkoenig
Date: Sat Apr 29 21:02:04 2006
New Revision: 113381
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113381
Log:
2006-04-29 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/26017
Backport from trunk
* 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-29 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/26017
* gfortran.dg/allocate_zerosize.f90: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/allocate_zerosize_1.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/trans-array.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog