[Bug fortran/27470] [4.1/4.2 regression] wrong memory allocator for derived types
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 10 18:27:00 GMT 2006
------- Comment #6 from tkoenig at gcc dot gnu dot org 2006-05-10 18:27 -------
Subject: Bug 27470
Author: tkoenig
Date: Wed May 10 18:26:51 2006
New Revision: 113680
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113680
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/multiple_allocation_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27470
More information about the Gcc-bugs
mailing list