[Bug fortran/41615] New: Bogus error message: "internal function" should be "module procedure"
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 7 08:12:00 GMT 2009
The following is properly rejected but the error message is bogus:
Error: Character-valued internal function 'assumed_len' at (1) must not be
assumed length
I tried to find an internal function, but all I see is a module procedure. (For
internal functions, assumed-length result values are also invalid.)
module funcs
implicit none
contains
function assumed_len(x)
character(*) assumed_len
integer, intent(in) :: x
end function assumed_len
end module
--
Summary: Bogus error message: "internal function" should be
"module procedure"
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41615
More information about the Gcc-bugs
mailing list