[flang-commits] [flang] [Flang][OpenMP] Add Semantics support for Nested OpenMPLoopConstructs (PR #145917)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Tue Jul 8 05:29:31 PDT 2025


kparzysz wrote:

Add `assert(nextIt != block.end())` after the line I showed and it should fail with the short testcase.

I'm pretty sure that all other cases where nextIt changes go back to the beginning of the loop where nextIt != block.end() is checked.  I wrapped the following "if" in "if (nextIt != block.end())" and that fixed the problem.

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


More information about the flang-commits mailing list