This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]