[flang-commits] [flang] [flang][OpenACC] Reland data-clause designator path handling (PR #220781)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Mon Sep 14 20:08:46 PDT 2026


eugeneepshteyn wrote:

> > !$acc parallel private(a(i)) private(a(i+1-1))
> 
> This is a shortfall of `evaluate::Fold()` not this code. For instance, if the second clause was `(private(1-1+i))` it would be recognized, deduplicated, and eliminate this error. The right place to fix this example in in constant folding.

Should we create an issue for this case, then?

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


More information about the flang-commits mailing list