<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/100919>100919</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Flang][OpenMP] LLVM ERROR: symbol not mapped (do concurrent)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          k-arrows
      </td>
    </tr>
</table>

<pre>
    I know https://github.com/llvm/llvm-project/issues/85538 has been already fixed, but I have other reproducers that crash due to the combination of do concurrent and OpenMP.

Reproducer(1)
https://godbolt.org/z/a6zMGaTEh
```f90
integer :: i

!$omp task
do concurrent (i=1:2)
end do
!$omp end task
end
```

Reproducer(2)
https://godbolt.org/z/n5Ge38q4v
```f90
integer :: i

!$omp parallel
do concurrent (i=1:2)
end do
!$omp end parallel
end
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysk1Fr2zAUhX_N9culQbqW0_jBD-lSl0JLRxh7l62bWKsieZKcrv31I0nXrh2DsQ2MBQd0dL_DPTolu_XMDVQXUK0KPeUhxOb-TMcYHlLRBfPYXOO9Dw845DwmKJdALVC7tXmYulkfdkCtc_sfx9kYwxfuM1BrU5o4AbWLqioXOOiEHbNH7SJr84gb-40N0AfspozXOOg9Y8gDR4w8xmCmnmPCPOiMfdRpQDMx5oB5YOzDrrNeZxs8hg2agH3w_RQj-4zaG7wb2d9-nIFYgVie_usXV6CFBKpP8juuYLrg8izELVD7BNTq-dPtlf50OTx7zcXp29TipFifecsRDx7lEu3PbwJJIBV2I2ad7k_a22GBFhbKlYRySS8zsTdownuLg_pqw968m-i3sPTHsL664nLxVe3_DXbUUTvH7j8Av7X6FbowTWnqstYFN_KcSKpakSqGRvdGSpJspJZGV0pJQ3WvjJGCSVXzwjYkSIlzWoh5JUjNNiyqjuq5IrGZs1agBO-0dbPDYh9CKo4r3UghalkXTnfs0rE6RBun_RaIDi2KzbEJ3bRNoISzKadXi2yzO_atPd6oVlBdnJYVqhXe3Hy-xcv1-m59SDc97rrg0IeMOz2ObA7hvUkTqC6m6Jq_L-czzL6h7wEAAP__UQo1NA">