When specified, explicit data-environment attribute clauses on target directives determine the attributes for variables referenced in a target construct. Otherwise, the first matching rule from the following list determines the implicit data-mapping (or data-sharing) attribute for variables referenced in a target construct that do not have a predetermined data-sharing attribute according to Section 5.1.1. References to structure elements or array elements are treated as references to the structure or array, respectively, for the purposes of determining implicit data-mapping or data-sharing attributes of variables in a target construct.
If a defaultmap clause is present for the category of the variable and specifies an implicit behavior other than default, the data-mapping or data-sharing attribute is determined by that clause.
If a variable is not a scalar then it is treated as if it had appeared in a map clause with a map-type of tofrom.