Thirumalai-Shaktivel wrote: Thanks for the quick fix. Yes, it works fine.
Here is another MRE that crashes: ```fortran subroutine test_workshare_02() real :: x(10) integer :: i call random_number(x) x = 2 !$omp workshare forall(i=1: 10) x(i) = x(i) * 2 !$omp end workshare end subroutine test_workshare_02 ``` The same crash happens for the where statement as well. https://github.com/llvm/llvm-project/pull/104748 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits