(j3.2006) Pointer association context
Mon May 1 19:16:57 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.
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.
If they are prohibited, or are not but should be, something about them
ought to be listed in 19.6.8.
More information about the J3