[Bug fortran/30660] [4.2 and 4.1 only] Allocatable components of a derived type "require" the SAVE attribute.
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 23 16:35:00 GMT 2007
------- Comment #10 from burnus at gcc dot gnu dot org 2007-02-23 16:35 -------
Subject: Bug 30660
Author: burnus
Date: Fri Feb 23 16:35:25 2007
New Revision: 122263
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122263
Log:
2007-02-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30660
* resolve.c (has_default_initializer): New function.
(resolve_fl_variable): Call has_default_initializer to determine if
the derived type has a default initializer to its ultimate
components.
2007-02-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30660
* gfortran.dg/alloc_comp_basics_4.f90: Add component with an
allocatable component.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/alloc_comp_basics_4.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30660
More information about the Gcc-bugs
mailing list