[Bug fortran/23443] New: incorrect resolution of generic interface
dngrimwood at optusnet dot com dot au
gcc-bugzilla@gcc.gnu.org
Wed Aug 17 14:56:00 GMT 2005
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
More information about the Gcc-bugs
mailing list