[Bug fortran/25056] New: better diagnostic needed
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 17:47:00 GMT 2005
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic
-std=f95', I get a bad / no diagnostic for the following invalid code:
MODULE M1
CONTAINS
FUNCTION L()
L=1
END FUNCTION L
PURE FUNCTION J(K)
INTERFACE
PURE FUNCTION K()
END FUNCTION K
END INTERFACE
J=K()
END FUNCTION J
END MODULE M1
USE M1
write(6,*) J(L)
END
--
Summary: better diagnostic needed
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25056
More information about the Gcc-bugs
mailing list