[flang][acc][NFC] Add deviation to the spec that declaring the same variable is permitted (#148288)

OpenACC spec says `A var may appear at most once in all the clauses of
declare directives for a function, subroutine, program, or module.` but
our implementation allows it with a warning generated. Add this to the
diviation list for record.
This commit is contained in:
Susan Tan (ス-ザン タン)
2025-07-14 16:55:40 -04:00
committed by GitHub
parent 19b2dd9d79
commit ada514b0af

View File

@@ -27,6 +27,9 @@ local:
* `!$acc cache` directive accepts scalar variable.
* The `!$acc declare` directive accepts assumed size array arguments for
`deviceptr` and `present` clauses.
* The OpenACC specification disallows a variable appearing multiple times in
clauses of `!$acc declare` directives for a function, subroutine, program,
or module, but it is allowed with a warning when same clause is used.
## Remarks about incompatibilities with other implementations
* Array element references in the data clauses are equivalent to array sections