This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30660] [4.2 and 4.1 only] Allocatable components of a derived type "require" the SAVE attribute.
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2007 09:37:18 -0000
- Subject: [Bug fortran/30660] [4.2 and 4.1 only] Allocatable components of a derived type "require" the SAVE attribute.
- References: <bug-30660-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from paulthomas2 at wanadoo dot fr 2007-02-05 09:37 -------
Subject: Re: [4.2 and 4.1 only] Allocatable components
of a derived type "require" the SAVE attribute.
toon,
> 1
> Error: Object 'g_dest' at (1) must have the SAVE attribute for default
> initialization of a component
>
> probably because of the nested nature of the allocatable component in coord_t.
>
> Hope this helps.
>
Bother! Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30660