[Bug fortran/30660] Allocatable components of a derived type "require" the SAVE attribute.
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 2 13:14:00 GMT 2007
------- Comment #2 from pault at gcc dot gnu dot org 2007-02-02 13:14 -------
MODULE types_m
TYPE grib_t
REAL,DIMENSION(:),ALLOCATABLE :: vdata
END TYPE
END MODULE
MODULE globals_m
USE types_m
TYPE(grib_t) g_dest ! output field
END MODULE
Is all that is needed to trigger the fault. I introduced the code that
generates the error but it looks to me as if it has been "touched" since.
Can you work around by giving the variables the SAVE attribute?
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-02 13:14:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30660
More information about the Gcc-bugs
mailing list