This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41083] Implicit typing: Save implicit type for external procedures
- 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: 16 Nov 2009 20:50:30 -0000
- Subject: [Bug fortran/41083] Implicit typing: Save implicit type for external procedures
- References: <bug-41083-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2009-11-16 20:50 -------
Intel (#i552365) pointed out the following, which is part of 11.2 Modules of
the F2003 spec:
"If a procedure declared in the scoping unit of a module has an implicit
interface, it shall be given the EXTERNAL attribute in that scoping unit; if it
is a function, its type and type parameters shall be explicitly declared in a
type declaration statement in that scoping unit."
It seems that the current result is OK and standard conforming. One should
check that the test cases here are properly rejected (they seem to be) and one
should re-check the referenced PRs and the mailing-lists links and the
interpretation request. But presumably, one can close this PR as INVALID.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41083