This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
Hello world, here is a fix for PR 27470. Regression-tested on i686-pc-linux-gnu. As far as I could tell, this fix is fine for F95, but will require changes when working on TR 15581. I have added a relevant test case to PR 20541. OK for trunk? Since this is also fixes a 4.1 regression, I think this should also go into 4.1 after the usual period. Thomas 2005-05-09 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-09 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/27470 * gfortran.dg/multiple_allocation_2.f90: New test case.
Attachment:
trans-array.c-2.diff
Description: Text document
Attachment:
multiple_allocation_2.f90
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |