http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50659
--- Comment #10 from janus at gcc dot gnu.org 2011-10-08 11:19:07 UTC ---
One more side note: The following variant segfaults with 4.3:
module Test_Mod
implicit none
contains
subroutine Init
procedure(Proc1) :: Proc_Get
end subroutine
function Proc1() result (res)
double precision, dimension(3) :: res
end function
end module
while 4.4 rejects it with:
procedure(Proc1) :: Proc_Get
1
Error: Interface 'proc1' of procedure 'proc_get' at (1) must be explicit
Since this is not a regression (and 4.3 is not being maintained any more,
anyway), it probably won't get fixed. From 4.5 on it is accepted.