This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54107] [4.8 Regression] Memory hog with abstract interface
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Sep 2012 22:29:36 +0000
- Subject: [Bug fortran/54107] [4.8 Regression] Memory hog with abstract interface
- Auto-submitted: auto-generated
- References: <bug-54107-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
--- Comment #7 from janus at gcc dot gnu.org 2012-09-22 22:29:36 UTC ---
(In reply to comment #6)
> (In reply to comment #4)
> > I would assume that this is invalid, since the declaration of compute_routine's
> > interface is somehow 'recursive', i.e. referring to itself.
>
> From f2008 draft:
>
> > 12.4.3.6 Procedure declaration statement
> >
> > [...]
>
> My understanding of the above quote is that
>
> procedure(compute_routine) :: zfunc
>
> has nothing to do with recursiveness, but that zfunc has the same interface as
> compute_routine.
Yes, sure. I'm not claiming that it actually indicates a recursive procedure.
All I ment to say was that the *declaration* is 'recursive', in the sense that
it refers to itself. (This recursiveness of the declaration is not to be
confused with run-time recursiveness, where a procedure calls itself.)