alexey-bataev wrote: > @alexey-bataev What should the final value of `j` be here? > > ``` > volatile int n = 0; > int i = 10, j = 10; > #pragma omp interchange > for (i = 0; i < n; i++) > for (j = 0; j < 3; j++) > ; > ``` > > This PR currently gives `j=3`. Shouldn't be `j=10`?
Unless j is private, it should be 3, if it is private - 10 https://github.com/llvm/llvm-project/pull/214717 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
