AW: Submodules and encapsulation
Bader, Reinhold
Reinhold.Bader@lrz.de
Thu Feb 9 11:21:00 GMT 2017
> -----Ursprüngliche Nachricht-----
> Von: Paul Richard Thomas [mailto:paul.richard.thomas@gmail.com]
> Gesendet: Donnerstag, 9. Februar 2017 12:20
> An: Bader, Reinhold <Reinhold.Bader@lrz.de>
> Cc: fortran@gcc.gnu.org; Bill Long <longb@cray.com>
> Betreff: Re: Submodules and encapsulation
>
> Dear Reinhold,
>
> Do I presume correctly that it is only the component 'i' that should not be
> accessible?
Yes.
>
> To be honest, I am not sure that I understand how gfortran accesses it
> :-) I will look into it.
>
> Thanks
>
> Paul
>
> On 8 February 2017 at 20:47, Bader, Reinhold <Reinhold.Bader@lrz.de>
> wrote:
> > Dear gfortran developers,
> >
> > I've submitted a bug report at
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79434 for what I believe
> > to be a problem with code in submodules not respecting encapsulation.
> The current Intel and Cray compilers also do not respect this (i.e. they
> successfully compile the test case), but there seemed to be agreement by
> Intel that such code is not conforming.
> >
> > Regards
> > Reinhold
> >
> > --
> > Dr. Reinhold Bader
> > Leibniz Supercomputing Centre (http://www.lrz.de) / HPC Systems and
> > Services
> > Tel.: 0049 89 35831 8825 Fax: 8625
> >
>
>
>
> --
> "If you can't explain it simply, you don't understand it well enough"
> - Albert Einstein
More information about the Fortran
mailing list