[Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP

Janus Weil janus@gcc.gnu.org
Wed Oct 21 06:48:00 GMT 2009


Hi Paul,

>> But in your patch you do the argument resolution both in resolve_class_compcall
>> and resolve_class_typebound_call, which should take care of type-bound
>> functions *and* subroutines, shouldn't it? Therefore I don't see why it still
>> fails for subroutines ...
>
> It's an 'obvious' one that I cannot fix until Sunday.  If you want to
> do it before then that would be great.
>
> I used the wrong actual for subroutines.  It should have been
> compcall.actual rather than ext.actual.  With that change, it works
> fine.

Ah, ok. That explains it.

I'll take care of it. (Will commit together with my patch for PR41766 soon.)

Cheers,
Janus



More information about the Fortran mailing list