------- Comment #1 from burnus at gcc dot gnu dot org 2010-07-09 05:47 ------- As Malcom Cohen points out:
"If a dummy argument has INTENT (OUT) or INTENT (INOUT), the actual argument shall be definable." (F2008, 12.5.2.4, paragraph 17) And as "FROM" is a "INTENT(INOUT) argument." (cf. above), it needs to be definable and thus may not be a function (result). That's exactly what gfortran checks :-) Close as invalid. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44879