------- Comment #1 from burnus at gcc dot gnu dot org 2009-03-09 22:00 ------- > procedure() :: p > integer :: p
I think it is valid; ifort 11beta also accepts it. (NAG 5.1 doesn't.) Looking at "12.3.2.3 Procedure declaration statement" one sees that "PROCEDURE()" is has the same effect as the EXTERNAL statement. And together with the following, I think it makes it valid: "If proc-interface does not appear, the procedure declaration statement does not specify whether the declared procedures or procedure pointers are subroutines or functions." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39414