Issue 138493
Summary [OpenMP] Assertion `(SemaRef.CurContext->isDependentContext() || B.builtAll()) && "loop exprs were not built"' failed.
Labels new issue
Assignees
Reporter k-arrows
    I am not confident if this is a duplicate of https://github.com/llvm/llvm-project/issues/138445, because the backtrace looks a bit different.

Reproducer:
https://godbolt.org/z/83rdTfMod
```cpp
void f(void) {
#pragma omp simd collapse(a)
  for (int i = 0; i < 10; i++)
 ;
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to