This is the mail archive of the gcc-patches@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]

Re: [Patch, fortran] PR29992 - failure to detect module procedures that are not procedures from modules


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


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