[Bug fortran/33106] Access of components of public entities of private types wrongly allowed
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 19 17:41:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list