AmrDeveloper wrote:

> In addition to the collapse clause, the ordered clause also seems to have the 
> same problem. For example, does your patch also fix the following crash? If 
> so, you also need tests regarding the ordered clause. 
> https://godbolt.org/z/96sa5jxff
> 
> ```c++
> void f(void) {
> #pragma omp for ordered(0xFFFFFFFFFFFFFFFF)
>   for (int i = 0; i < 10; i++)
>     ;
> }
> ```

Thank you, yes, it will fix this case too

https://github.com/llvm/llvm-project/pull/138592
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to