list item, extended list item, etc.

Comments and discussion of the 4.1 OpenMP Draft specifications. Comment period ends September 30, 2015. See to download the specifications. (Read Only)
Forum rules
The OpenMP Forums are now closed to new posts. Please visit Stack Overflow if you are in need of help:
Posts: 73
Joined: Mon Jul 27, 2015 4:50 pm

list item, extended list item, etc.

Post by fewl9012 »

p27:20, C/C++, "A list item is a variable or array section."
p27:21, Fortran, "A list item is a variable, array section or common block name (enclosed in slashes)."

These sentences have been significantly shortened relative to 4.0, implying that array sections can now appear as any list item. Way down in section 2.4, array sections, restrictions, p45:7, "An array section can appear only in clauses where it is explicitly allowed."

So, perhaps page 27 should say: "A list item is a variable or, where allowed, an array section."

Or, perhaps, since the spec already defines two types of list items (list item and extended list item), it's easier to have a third type of list item: simple list item (variable / common block name), list item (include array sections), extended list item (include procedure name).