------- Comment #1 from pault at gcc dot gnu dot org 2007-01-13 22:12 ------- This looks quite easy:
pure integer function bar (n) integer, intent(in) :: n bar = n end function bar works. Somebody has forgotten to transfer the result typespec to that of the specification expression. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30283