re PR fortran/43945 ([OOP] Derived type with GENERIC: resolved to the wrong specific TBP)
2010-06-05 Paul Thomas <pault@gcc.gnu.org> Janus Weil <janus@gcc.gnu.org> PR fortran/43945 * resolve.c (get_declared_from_expr): Move to before resolve_typebound_generic_call. Make new_ref and class_ref ignorable if set to NULL. (resolve_typebound_generic_call): Once we have resolved the generic call, check that the specific instance is that which is bound to the declared type. (resolve_typebound_function,resolve_typebound_subroutine): Avoid freeing 'class_ref->next' twice. 2010-06-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/43945 * gfortran.dg/generic_23.f03: New test. Co-Authored-By: Janus Weil <janus@gcc.gnu.org> From-SVN: r160335
Showing
gcc/testsuite/gfortran.dg/generic_23.f03
0 → 100644
Please
register
or
sign in
to comment