[Bug fortran/43185] [F2008] Implicit SAVE in MODULEs
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 26 22:52:00 GMT 2010
------- Comment #3 from burnus at gcc dot gnu dot org 2010-02-26 22:52 -------
(In reply to comment #2)
> && has_default_initializer (sym->ts.u.derived))
s/)//
> + && (gfc_notify_std (GFC_STD_F2008, "Fortran 2008: Implied SAVE for "
s/(//
> + "the default initializer", sym->name,
s/initializer/initialization/
Fortran 2008 Standard (5.3.16 SAVE attribute):
"A variable, common block, or procedure pointer declared in the scoping unit of
a main program, module, or submodule implicitly has the SAVE attribute, which
may be confirmed by explicit specification."
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43185
More information about the Gcc-bugs
mailing list