Following the discussion in http://gcc.gnu.org/ml/fortran/2010-07/msg00174.html this is a split of a test case I had added to PR42385, taken from 43945, but it does not quite belong there. The problem is: the static resolution mechanism that is invoked when the type is knonwn at compile time goes wrong when the base type has a binding-name different from the procedure-name.
-- Summary: [OOP] Generic TBP not resolved correctly at compile time Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sfilippone at uniroma2 dot it GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44936