(j3.2006) request for interpretation

Jim Xia jimxia
Tue Apr 1 17:19:40 EDT 2008

We compile Bob's example.


Jim Xia

RL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444  Tie-line 313-3444
email: jimxia at ca.ibm.com
D2/YF7/8200 /MKM

Aleksandar Donev <donev1 at llnl.gov> 
Sent by: j3-bounces at j3-fortran.org
04/01/2008 05:16 PM
Please respond to
fortran standards email list for J3 <j3 at j3-fortran.org>

fortran standards email list for J3 <j3 at j3-fortran.org>

Re: (j3.2006) request for interpretation

On Tuesday 01 April 2008 13:42, Robert Corbett wrote:

> Kurt stated that he had written the text
> that is now in Section specifically to allow this case.
OK, I seem to have missed Kurt's e-mail. I just went back and read it. I 
am of 
course sure he is right. But I certainly cannot untangle how it all works 
together (maybe he could explain please?).

On Tuesday 18 March 2008 11:50, Kurt W Hirchert wrote:
> In particular, we find in that the rules from 16.2.3 about 
> ambiguity are applied to specific interfaces declared in the scoping 
> or made accessible by use association, but not to those potentially
> accessible through host association or an INTRINSIC declaration. 
OK, that I see (in the latest draft):
"If the reference is consistent with a nonelemental reference to one of 
specific interfaces of a generic interface
that has that name and either is in the scoping unit in which the 
appears or is made accessible by a
USE statement in the scoping unit, the reference is to the specific 
in the interface block that provides
that interface. The rules in ensure that there can be at most 
such specific procedure."

But when I look in, I see:
"This subclause contains the rules that shall be satisfied by every pair 
specific procedures that have the same
generic identifier within a scoping unit."
As far as I can tell, SUBR1 and SUBR2 both have the same generic 
within subroutine S? Where is there a distinction between generics 
by USE association and those by host association?

Is there a compiler that actually implements what Kurt says was the 

J3 mailing list
J3 at j3-fortran.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20080401/fe45d2c5/attachment.html 

More information about the J3 mailing list