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] PR16940 - module interfaces to contained procedures - redux++


On Tuesday 19 July 2005 14:05, Paul THOMAS wrote:
> Oh the joys of Windows!  Try again with pr16940.msg => pr16940.txt
>
> Having studied the code at the end of parse.c, I have come to the
> conclusion that the patch to fix pr16940
> (http://gcc.gnu.org/ml/fortran/2005-07/msg00004.html) is in the correct
> place. This is the first opportunity, after the contained function has been
> parsed, that the namespaces is traversed and the symbols tested. In fact,
> the ICE occurs precisely because this function subsequently does the wrong
> thing with the offending, unrequited symbol.
>
> The changelog entries, patch and testcase are enclosed.
>
> Regtested (in so far as that is possible with gfc, these days) on Cygwin
> and RH9.
>
> OK for mainline and 4.0?
>
> Paul T
>
> 2005-07-01 Paul Thomas
>
> PR fortran/16940
> * resolve.c (resolve_symbol): A symbol with FL_UNKNOWN
> is matched against interfaces in parent namespaces. If there
> the symtree is set to point to the interface.

Looks OK to me. Thanks.

Gr.
Steven


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