[Patch, fortran] PR40591 - Procedure(interface): Rejected if interface is indirectly host associated

H.J. Lu hjl.tools@gmail.com
Wed Jul 8 14:08:00 GMT 2009


On Tue, Jul 7, 2009 at 1:34 PM, Paul Richard
Thomas<paul.richard.thomas@gmail.com> wrote:
> This is another, nearly obvious patch.  A bit more care was needed
> with the association and/or creation of the symbol for the interface
> procedure.  I have commented the patch to make it clear what is
> happening.  The testcase is essentially the reporters.
>
> Bootstrapped and regtested on FC9/x86_i64 - OK for trunk and 4.4.1?
>
> Cheers
>
> Paul
>
> 2008-07-07  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/40591
>        * decl.c (match_procedure_interface):  Correct the association
>        or creation of the interface procedure's symbol.
>
> 2008-07-07  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/40591
>        * gfortran.dg/proc_ptr_21.f90: New test.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40683

-- 
H.J.



More information about the Gcc-patches mailing list