k-arrows 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
```cpp
void f(void) {
#pragma omp for ordered(0xFFFFFFFFFFFFFFFF)
  for (int i = 0; i < 10; i++)
    ;
}
```

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