[Bug fortran/30660] [4.2 only] Allocatable components of a derived type "require" the SAVE attribute.
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 1 09:44:00 GMT 2007
------- Comment #11 from burnus at gcc dot gnu dot org 2007-03-01 09:44 -------
Subject: Bug 30660
Author: burnus
Date: Thu Mar 1 09:43:53 2007
New Revision: 122427
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122427
Log:
fortran/
2007-03-01 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk
PR fortran/30660
* resolve.c (pure_function, resolve_function): Initialize name to
null to clear up build warnings.
(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.
testsuite/
2007-03-01 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk
PR fortran/30660
* gfortran.dg/alloc_comp_basics_4.f90: New test.
PR fortran/29820
* gfortran.dg/actual_array_interface_1.f90: Copy source to empty
file.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/alloc_comp_basics_4.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/resolve.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/actual_array_interface_1.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30660
More information about the Gcc-bugs
mailing list