(j3.2006) Pointer association context
Mon May 1 20:04:07 EDT 2017
>Is an intrinsic assignment statement a pointer association context if it
>has pointer components?
>Is the appearance of an actual argument that has pointer components a
>pointer association context if the corresponding dummy argument has
>INTENT(OUT) or INTENT(INOUT)?
>Neither of these are mentioned in 19.6.8, but it's not obvious they're
>not pointer association contexts.
On the contrary, that they are not listed as being pointer association
contexts means that they are not.
>For example, C857 says that a pointer that has the PROTECTED attribute
>and is accessed by use association shall not appear in a pointer
>association context. 8.5.15p3 says subobjects of objects that have the
>PROTECTED attribute also have the protected attribute. This seems to be
>an important case where the above two contexts ought to be prohibited.
And they are. They are variable definition contexts, and the parent object
is prohibited from appearing in such a context.
>If they are prohibited, or are not but should be, something about them
>ought to be listed in 19.6.8.
No problem seems to have been identified.
More information about the J3