(j3.2006) C1296 in 14-007r1 (concerning pure subprograms), and 16.6.7p1(12)

Van Snyder Van.Snyder
Thu May 29 18:52:34 EDT 2014


Item (6) in C1296 is

 (6) as an actual argument corresponding to a dummy argument with
     INTENT(OUT) or INTENT(INOUT) or with the POINTER attribute.

16.6.7p1(12) is

 (12) as an actual argument corresponding to a dummy argument with
      INTENT(OUT) or INTENT (INOUT),

Should 16.6.7p1(12) include "or with the POINTER attribute" or maybe "or
with the POINTER attribute if the actual argument is not a pointer"?

Item (4) in C1296 uses "pointer component at any level of component
selection".  Item (5) uses "has an ultimate pointer component".  Should
these be the same?

C1296 needs an additional item:

  (7) as the actual argument to the function C_LOC from the intrinsic
      module ISO_C_BINDING

We maybe need a paragraph (can't be a constraint) that prohibits
invoking the C_F_POINTER subroutine if the value of the CPTR argument is
the C address of an object specified in the introductory paragraph of
C1296.

Should pointer association context (16.6.8) be in the list in C1296, or
is it OK to change the pointer association status of a host associated
pointer in a pure subprogram?






More information about the J3 mailing list