2013/7/25 Tobias Burnus <bur...@net-b.de>:
> Janus Weil wrote:
>>
>> here is a small patch for a rejects-valid OOP problem, where a
>> type-bound call was resolved before the base type and its bindings.
>> I'm adding a call to resolve_fl_derived, in order to make sure that
>> the base type is resolved beforehand.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>
>
> Looks fine to me. (If I tracked the PR correctly, it only solves the
> original problem but not yet the one of comment 5, does it?)

No, this one should actually fix both. I can also add the variant from
comment 5 to the test case, if you prefer.

Cheers,
Janus


>> 2013-07-25  Janus Weil  <ja...@gcc.gnu.org>
>>
>>      PR fortran/57966
>>      * resolve.c (resolve_typebound_function): Make sure the declared
>> type,
>>      including it's type-bound procedures, is resolved before resolving
>> the
>>      actual type-bound call.
>>
>> 2013-07-25  Janus Weil  <ja...@gcc.gnu.org>
>>
>>      PR fortran/57966
>>      * gfortran.dg/typebound_call_25.f90: New.

Reply via email to