Hi there, the attached code compiles with nagfor but fails to do so with gfortran 4.5.0 rev. 155016:
gfcbug96.f90:45.33: end module concrete_inner_product 1 Error: Name 'vtype$vector_class' at (1) is an ambiguous reference to 'vtype$vect or_class' from module 'concrete_vector' gfcbug96.f90:45.33: end module concrete_inner_product 1 Error: Name 'vtype$vector_class' at (1) is an ambiguous reference to 'vtype$vect or_class' from module 'concrete_vector' gfcbug96.f90:43.23: use concrete_gradient 1 Error: The element in the derived type constructor at (1), for pointer component '$extends', is DERIVED but should be DERIVED -- Summary: [OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ... Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42353