(j3.2006) (SC22WG5.3591) Assumed-type and Assumed-rank extensions for C Interop TR.
Bill Long
longb
Mon Jul 28 15:45:24 EDT 2008
Van Snyder wrote:
> On Thu, 2008-07-24 at 18:13 -0500, Bill Long wrote:
>
>> Attached is a draft of a proposal....
>>
>
>
>> "R522a <assumed-rank-spec> <<is>> ::"
>>
>
> During the specs-gathering period for Fortran 2008, I proposed a
> dimension specification [<lower-bound>]::1 that meant "assumed extent
> but contiguous" for the first K dimensions of a rank R array. If K==R
> it would have been the same as the CONTIGUOUS attribute. I still wish
> for this in places where I have 2X2 arrays along a path on which not
> every point is processed. I don't think the R522a proposal would
> conflict with this, but it bears pondering.
>
>
>> C2) An <assumed-type> variable shall not have the CODIMENSION,
>> EXTERNAL, INTRINSIC, or VALUE attribute.
>>
>
>
>> Note: The ALLOCATABLE, ASYNCHRONOUS, DIMENSION, INTENT, OPTIONAL,
>> POINTER, TARGET, and VOLATILE attributes are allowed.
>>
>
> CONTIGUOUS?
>
>
Added (twice). The remaining attributes (bind, parameter, protected,
and save) do not apply to dummy arguments.
Cheers,
Bill
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
More information about the J3
mailing list