This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52333] Explicit etime interface should work
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Feb 2012 03:29:28 +0000
- Subject: [Bug fortran/52333] Explicit etime interface should work
- Auto-submitted: auto-generated
- References: <bug-52333-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52333
--- Comment #2 from kargl at gcc dot gnu.org 2012-02-22 03:29:28 UTC ---
(In reply to comment #1)
> Please define fails. What is the error message
> you get? All procedure included in gfortran's
> runtime library are treated as intrinsic
> procedures unless you use -std= to restrict
> gfortran to a particular standard. As it is
> an intrinsic procedure, etime already has an
> explicit interface. So, trying to re-specify
> an interface makes no sense.
Just a follow-up page 283 in F2008,
A procedure shall not have more than one explicit
specific interface in a given scoping unit.
Now, I need to see if specifying an interface block
for a procedure implies the external attribute.
That would open a whole other can of worms that
one does not want to open.