(j3.2006) Question about pointer components of coindexed objects

John Reid John.Reid
Mon Jul 24 14:34:28 EDT 2017



Van Snyder wrote:
> On Mon, 2017-07-24 at 15:25 +0900, Malcolm Cohen wrote:
>> Anyway, I think that either ASSOCIATED should say that you can?t use
>> it on coindexed objects, or C1542 should be followed by a Note saying
>> it does not apply to the ASSOCIATED intrinsic, to clarify the
>> situation.
>
> Does the same situation hold for ALLOCATED?
>

I do not think so. The corresponding rule is 15.5.2.6, para 4 [320:11]:

"If the actual argument is a coindexed object, the dummy argument shall 
have the INTENT (IN) attribute."

All intrinsic functions are pure so have arguments of intent (in).

John.








More information about the J3 mailing list