This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33106] Access of components of public entities of private types wrongly allowed
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2007 17:40:59 -0000
- Subject: [Bug fortran/33106] Access of components of public entities of private types wrongly allowed
- References: <bug-33106-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dfranke at gcc dot gnu dot org 2007-08-19 17:40 -------
> The "print" statements are wrong(?); additionally for -std=f95 there
> should be already an error for the compilation of the module.
Tobias,
does any other standard but F95 allow the usage of private derived type outside
their defining module? I'd think that an error is called for, regardless of the
version of the standard?!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33106