https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98890
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Related issue but without an ICE:
contains
integer function f1()
!f2 = 1 ! gives an error as expected
j = f2 ! <<<< accepted; cast of function addr to integer(kind=4)
f1 = 1 ! ↑ ifort: 'already been used as an external function name'
end function
integer function f2()
f2=1
end function
end
