This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33106] Access of components of public entities of private types wrongly allowed



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]