(j3.2006) Question about Comment GB20 on CFI_is_contiguous

Van Snyder Van.Snyder
Tue Sep 27 21:32:40 EDT 2011


On Tue, 2011-09-27 at 18:13 -0700, Malcolm Cohen wrote:
> In any case, I think the wording needs to be tightened up re 
> unallocated/disassociated.  Simply disallowing these cases is I think
> the best option, especially since they are not allowed in the Fortran
> intrinsic.

An alternative for the unallocated/disassociated case is that the
function result is false, since an unallocated/disassociated array can't
possibly be contiguous.

If the code continues to another place where it actually tries to use
the target of the pointer etc., that's when it will get into trouble.





More information about the J3 mailing list