[Patch, fortran] PR29992 - failure to detect module procedures that are not procedures from modules
Daniel Franke
franke.daniel@gmail.com
Sun Dec 17 21:58:00 GMT 2006
On Saturday 16 December 2006 02:10, Paul Thomas wrote:
> This PR is simple enough in concept - gfortran fails to detect the
> invalid reference in module procedure declarations of procedures that
> are not contained by the interface scope or use associated. The only
> difficulty was detecting if a procedure had been declared a module
> procedure in a generic interface. The only way that I found to do this
> was to add a mod_proc attribute. The attr.proc == PROC_MODULE applies
> to all procedures in modules. Since the attribute is unique in its
> application to a module namespace, it is neither copied nor is it use
> associated.
>
> Regtested on Cygwin_NT/amd64 - OK for trunk and 4.2?
Paul,
thanks for fixing this! Although I can not comment on the code involved, it
bootstraps and regtests fine on i686-pc-linux-gnu (r119989).
Regards
Daniel
More information about the Fortran
mailing list