Janus Weil wrote:
here is an OOP patch for type-bound generics. The problem was that specifics with polymorphic arguments of different ranks were wrongly rejected as ambiguous, because 'gfc_compare_types' did not properly handle CLASS arrays. The patch fixes this is regtests cleanly on x86_64-unknown-linux-gnu. Ok for trunk?
OK. Looks rather obvious to me. Thanks for fixing it quickly. Tobias
2012-09-16 Janus Weil <ja...@gcc.gnu.org> PR fortran/54594 * interface.c (compare_type_rank): Handle CLASS arrays. 2012-09-16 Janus Weil <ja...@gcc.gnu.org> PR fortran/54594 * gfortran.dg/typebound_generic_14.f03: New.