(j3.2006) is sequence association allowed for coarray dummy

Jim Xia jimxia
Fri Oct 1 11:13:24 EDT 2010

Thanks John and Bill for making an interp paper.  I haven't got a chance 
to do it myself.


Jim Xia

XL 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


Bill Long <longb at cray.com>
"John.Reid at stfc.ac.uk" <John.Reid at stfc.ac.uk>, fortran standards email 
list for J3 <j3 at j3-fortran.org>
10/01/2010 11:09 AM
Re: (j3.2006) is sequence association allowed for coarray dummy

Hi John,

Somewhere you need a line

"References:  10-007"

so that the cited subclause and page numbers have a context for a future 

Also, I would enhance the answer with more explanation:

"No. This restriction contradicts para 13 [294:28-31] which 
does allow the example program. Edits are supplied to remove the 


John Reid wrote:
> Jim Xia wrote:
>> The standard says this
>> So does it mean sequence association is not allowed for coarray case. 
>>  Consider the following case
>> interface
>>     subroutine sub (x)
>>         real x(10)[*]
>>     end subroutine
>> end interface
>> ...
>> real, save :: x(100)[*]
>> ...
>> call sub (x(10)) !<--x(10) is not simply contiguous
>> Is this intended to be disallowed, or is this an oversight?
> Here is a draft interp.
> John.

Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101

J3 mailing list
J3 at j3-fortran.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://j3-fortran.org/pipermail/j3/attachments/20101001/d53a8194/attachment.htm>

More information about the J3 mailing list