[flang-commits] [flang] [flang][OpenMP] Fix crash when a sliced array is specified in a forall within a workshare construct (PR #170913)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Dec 17 09:59:10 PST 2025
https://github.com/tblah commented:
Thank you for the bug fix, but I'm not sure this is right yet.
The problem you describe seems to indicate that it is not safe to parallelise when forall/where need to use the runtime stack (for example the call you mentioned). I'm not sure if removing nowait is the right fix.
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).
https://github.com/llvm/llvm-project/pull/170913
More information about the flang-commits
mailing list