This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41615] New: Bogus error message: "internal function" should be "module procedure"
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2009 08:11:58 -0000
- Subject: [Bug fortran/41615] New: Bogus error message: "internal function" should be "module procedure"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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