This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2007 20:29:15 -0000
- Subject: [Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute
- References: <bug-34438-11543@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from burnus at gcc dot gnu dot org 2007-12-12 20:29 -------
> Error: Fortran 2003: PUBLIC variable 'foo' at (1) of PRIVATE derived type
> 'myint'
> which seems unrelated to me and for which I probably should submit a new bug
> report.
It is unrelated, but simple to fix; patch:
http://gcc.gnu.org/ml/fortran/2007-12/msg00153.html
(I think the first example is standard conform and should be enough, though I
am glad that you created the other example and found a diagnostics bug.)
Thanks for your two-in-one bugreport.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34438