Hi all,

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?

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.

Attachment: pr57966.diff
Description: Binary data

Attachment: typebound_call_25.f90
Description: Binary data

Reply via email to