[Bug fortran/30283] Specification expression not properly recognized in declaration
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 13 22:12:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list