[flang-commits] [flang] [flang][openacc] Relax semantic check on cache directive (PR #184887)
via flang-commits
flang-commits at lists.llvm.org
Thu Mar 5 13:14:57 PST 2026
https://github.com/khaki3 approved this pull request.
You are right. The spec is not actually forbidding the colon notation.
>2740 The element index or lower bounds must be an integral-constant-expression, loop invariant, or the
2741 do loop variable plus or minus an integral-constant-expression or loop invariant; moreover the
2742 difference between the corresponding upper and lower bounds must be a constant
( https://openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.4.pdf)
https://github.com/llvm/llvm-project/pull/184887
More information about the flang-commits
mailing list