This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Procedure pointers not private to modules


Hi Andrew,

> The following code won't compile with the latest gfortran. I think it's valid
> code as the two procedure pointers should be private to their respective
> modules - unless I'm misunderstanding this.
>
> [...]
>
> If anyone can confirm that it's valid code I'll go ahead and file a PR.

yes, I'm pretty sure it's valid code. Please file a PR. (The program
also fails with 4.6 and 4.7)

Note: When replacing the procedure pointers by data pointers, the
program is accepted (as one would expect).

Cheers,
Janus


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