[flang-commits] [flang] [flang][doc] Added remark about array element references in data clauses. (PR #72332)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Nov 14 18:59:57 PST 2023


================
@@ -25,3 +25,10 @@ local:
   logical expression.
 * `!$acc routine` directive can be placed at the top level. 
 * `!$acc cache` directive accepts scalar variable.
+
+## Remarks about incompatibilities with other implementations
+* Array element references in the data clauses are equivalent to array sections
+  consisting of this single element, i.e. `copyin(a[n])` is equivalent to
----------------
vzakhari wrote:

Thanks for the catch!

https://github.com/llvm/llvm-project/pull/72332


More information about the flang-commits mailing list