------- Comment #3 from burnus at gcc dot gnu dot org 2008-05-29 11:24 ------- > A related problem also occurs with the POINTER attribute: > interface > real function bar() > end function bar > end interface > pointer :: bar
This allowed and means a procedure pointer. See "5.1.2.6 EXTERNAL attribute" "A procedure that has both the EXTERNAL and POINTER attributes is a procedure pointer." While the following is a function (no proc pointer) with a pointer-valued return variable: > interface > function bar() > real, pointer :: bar > end function bar > end interface -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36361