[Bug fortran/30660] [4.2 and 4.1 only] Allocatable components of a derived type "require" the SAVE attribute.
paulthomas2 at wanadoo dot fr
gcc-bugzilla@gcc.gnu.org
Mon Feb 5 09:37:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list