[flang-commits] [flang] [flang][OpenMP] Fix crash when a sliced array is specified in a forall within a workshare construct (PR #170913)
Carlos Seo via flang-commits
flang-commits at lists.llvm.org
Fri Dec 19 02:41:31 PST 2025
ceseo wrote:
> Please could you add lit tests demonstrating the changes (perhaps based on the issue). Perhaps with some IR it would be clearer why nowait helps (and regression tests are good in themselves).
The problem is that the issue is intermittent (you make it happen almost all the time if you increase OMP_NUM_THREADS to very large number, but not guaranteed to fail). If it happens, I can see the problematic IR.
If you have any suggestions on how to test it (or, even better, make the problem consistently happen), I'm open to suggestions.
https://github.com/llvm/llvm-project/pull/170913
More information about the flang-commits
mailing list