This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30283] Specification expression not properly recognized in declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]