r114176 - in /branches/gcc-4_1-branch/gcc: fort...

tkoenig@gcc.gnu.org tkoenig@gcc.gnu.org
Sun May 28 20:35:00 GMT 2006


Author: tkoenig
Date: Sun May 28 20:35:53 2006
New Revision: 114176

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114176
Log:
2005-05-28  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/27470
	Backport from trunk.
	* trans-array.c(gfc_array_allocate):  If ref->next exists
	that is if there is a statement like ALLOCATE(foo%bar(2)),
	F95 rules require that bar should be a pointer.

2005-05-28  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/27470
	Backport from trunk.
	* gfortran.dg/multiple_allocation_2.f90:  New test case.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/multiple_allocation_2.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



More information about the Gcc-cvs mailing list