This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30660] [4.2 and 4.1 only] Allocatable components of a derived type "require" the SAVE attribute.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]