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

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Tue Nov 14 17:18:59 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
----------------
clementval wrote:

Shouldn't we use the parenthesis notation instead of brackets for Fortran?

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


More information about the flang-commits mailing list