[Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 12 20:29:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list