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

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Oct 21 04:43:00 GMT 2009


Janus,


> 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.

Cheers

Paul



More information about the Fortran mailing list