Hi, The generic interface below is not being resolved correctly. The code looks similar to bug fortran/23371, but I think it's a different cause. Version is Debian 4.0.1-2.
Thanks, Daniel. module SYSTEM_MODULE implicit none interface unit_conversion_factor_ module procedure unit_conversion_factor end interface contains function unit_conversion_factor(self) result(res) integer, intent(in) :: self integer(4) :: res res = 1 end function subroutine unstack(self) integer, intent(inout) :: self integer(4) :: mem mem = unit_conversion_factor_(self) end subroutine end module -- Summary: incorrect resolution of generic interface Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dngrimwood at optusnet dot com dot au CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23443