------- Comment #6 from janus at gcc dot gnu dot org 2010-08-19 11:11 ------- There are also still problems with procedure pointers:
module m
implicit none
procedure(f1), pointer :: pp => f1
contains
integer function f1()
f1 = 42
end function
end module
use m
implicit none
if (pp()/=42) call abort()
end
This one fails with:
f951: internal compiler error: in build_function_decl, at
fortran/trans-decl.c:1611
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290
