[J3] C_LOC restriction is unhelpful
Van Snyder
van.snyder at jpl.nasa.gov
Thu Apr 12 15:24:55 EDT 2018
On Thu, 2018-04-12 at 14:54 +0000, Steidel, Jon L via J3 wrote:
> These are the same words as in F2008.
F08 includes the phrase "or be a scalar" before "nonpolymorphic" at
[428:23].
>
>
>
> -jon
>
>
>
> From: J3 [mailto:j3-bounces at mailman.j3-fortran.org] On Behalf Of Steve
> Lionel via J3
> Sent: Wednesday, April 11, 2018 7:43 PM
> To: Van Snyder via J3 <j3 at mailman.j3-fortran.org>
> Cc: Steve Lionel <steve at stevelionel.com>
> Subject: Re: [J3] C_LOC restriction is unhelpful
>
>
>
>
> On 4/11/2018 7:38 PM, Van Snyder via J3 wrote:
>
>
> The argument of C_LOC is not allowed to be a non-interoperable array.
>
>
> Yes it is, as of F2018.
>
> Argument. X shall have either the POINTER or TARGET attribute. It
> shall not be a coindexed object. It
> shall either be a variable with interoperable type and kind type
> parameters, or be a nonpolymorphic variable
> with no length type parameters. If it is allocatable, it shall be
> allocated. If it is a pointer, it shall be associated.
> If it is an array, it shall be contiguous and have nonzero size. It
> shall not be a zero-length string.
>
> Steve
>
>
More information about the J3
mailing list