Submodules and encapsulation

Paul Richard Thomas paul.richard.thomas@gmail.com
Thu Feb 9 11:20:00 GMT 2017


Dear Reinhold,

Do I presume correctly that it is only the component 'i' that should
not be accessible?

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