(j3.2006) (SC22WG5.3591) Assumed-type and Assumed-rank extensions for C Interop TR.
Van Snyder
Van.Snyder
Fri Jul 25 20:35:08 EDT 2008
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?
Van
More information about the J3
mailing list