http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50659
--- Comment #2 from janus at gcc dot gnu.org 2011-10-07 18:45:43 UTC --- Slight reduction of the original test case: module m integer :: arrSize end module program p implicit none procedure(Proc) :: Proc_Get contains function Proc (arg) use m double precision, dimension(arrSize) :: proc double precision :: arg end function end Fails with 4.5, 4.6 and trunk.