diff --git a/flang/docs/OpenACC.md b/flang/docs/OpenACC.md index 4c36a38f8bf57..61038a9f13df8 100644 --- a/flang/docs/OpenACC.md +++ b/flang/docs/OpenACC.md @@ -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 + `copyin(a(n:n))`. Some other implementations have treated it as + `copyin(a(:n))`, which does not correspond to OpenACC spec – Flang does not + support this interpretation of an array element reference.