2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
commit2fe6eed9d13406aa09a14dea82c37280fb3aa6c0
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2006 18:26:51 +0000 (10 18:26 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2006 18:26:51 +0000 (10 18:26 +0000)
tree33ede0b0a98f6e88dc6d67b29051b2c929405f93
parentdbebd287b51457475b0b8bcbc0c0f6f844ba8f60
2005-05-10  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/27470
* 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-10  Thomas Koenig  <Thomas.Koenig@online.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113680 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/multiple_allocation_2.f90 [new file with mode: 0644]