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.)