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

    <tr>
        <th>Summary</th>
        <td>
            [Flang][OpenMP] UNREACHABLE executed at llvm-project/flang/lib/Parser/parse-tree.cpp:297!
        </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>
    Reproducer:
```f90
program test
!$omp task depend(ii)
!$omp end task
end
```

Crash itself is reproducible on Godbolt:
https://godbolt.org/z/3jTYYxWT5

With assertion-enabled flang, the following output is obtained:
```txt
expecting modifiers on OmpDependClause::TaskDep
UNREACHABLE executed at /path_to_project/llvm-project/flang/lib/Parser/parse-tree.cpp:297!
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykUsFu2zoQ_BrqQtigSMuKDjoodvTeoW2CIEWQU7AyVxJjSiTIVeL26wvJBpKm6KkAD0vszmJmdiBG042IJcuuWbZPYKLehfK4ghDcW0wap3-U9-iD09MBA1MVExXbivNrC8FE5YPrAgycMNLclSmTGzd4ThCPXKPHUTN5ZQyTxW99HPUyw0Q1j3xYPNei2gWIPTcU0bbcRB4uPExjkbuR_-d04yydSfVEPs6lrJmsu3Nr7ULHZP2TyVq9PDw9nR4fsvPuR0M9hxgxkHHjCkdoLGreWhg7JneceuSts9a9mbHjbiI_0czBNQRmRP3JCTrN0vHk8UAzYHDatAZDnHneDn6_uLCzMEWcoap6gHjco2ei-v7t_qba_V9df7nheMLDRKg5EGey9kD9M7lnH9wLHojJ2trXYfX-vfCtrWmYrO8gRAwLLkRcUUBcH7xnqpJFPvv-gXGiS6ULVUCCZZpvlCry4mqb9GWqtC5kqoUW27QQadvKAopcFDlsAUSemFIKmQmlUpGlSmzXkEErW9BtK1CpVrCNwAGMXc9k5xMkJsYJy1SpbX6VWGjQxiVxUl4EyDl8oVzUNVMX2UZYEym-ryBDdolpvSCyPcuubz2OX-9Ytud_8_Cf7EqmYMtPuTLUT8364IbLLf48yaI1Mllf5L6W8lcAAAD__6l4Eno">