------- Comment #4 from kargl at gcc dot gnu dot org 2007-12-21 06:14 -------
Here's a reduced testcase.
module const_mod
implicit none
integer, parameter :: mp = selected_real_kind(15,300)
end module const_mod
module blk1_mod
implicit none
integer :: numclusters = 2
end module blk1_mod
module kmeans_aux
implicit none
contains
function get_nfirst( ) result(fnres)
use const_mod, only: mp
use blk1_mod, only: numclusters
implicit none
real(mp) :: fnres(numclusters)
end function get_nfirst
end module kmeans_aux
program kmeans_driver
use blk1_mod
use kmeans_aux
implicit none
integer, allocatable :: nfirst(:)
allocate(nfirst(1:numclusters))
nfirst(1:numclusters) = get_nfirst( )
end program kmeans_driver
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34545