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

    <tr>
        <th>Summary</th>
        <td>
            [Flang] Hang / infinite loop regression in OpenMP tests (in last ~2 weeks)
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          mgorny
      </td>
    </tr>
</table>

<pre>
    While retesting Flang last Saturday, I've noticed a few tests were hanging. Today I've rechecked it, and they still are.

The hanging tests are:

```
 Flang :: Integration/OpenMP/atomic-capture-complex.f90
  Flang :: Lower/OpenMP/atomic-implicit-cast.f90
  Flang :: Lower/OpenMP/atomic-privatize.f90
  Flang :: Lower/OpenMP/common-atomic-lowering.f90
  Flang :: Lower/OpenMP/dump-atomic-analysis.f90
```

This is Gentoo amd64 standalone build. Confirmed with 437346378fd4d40af30e6969621a605cbd6215d1 and c5972da34a08e5568e2b14e4c6f82c86e25a452a. I'm going to try bisecting but it's going to take a fair while.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUk0-L5DYQxT-N-lK0cetf2wcfOrs4WUhIIAs5l6WyrYwsGUmeTueQzx7s6U02kMMsGHwo_R5SvfcwZzcFoo6p75j6eMKtzDF1yxRTeJyGaB_db7PzBIkK5eLCBL3HMIHHXOBXLFuy-GD8A3xi_PpKEGJxhiwgjHSHnclwp0QwY5hcmCr4HC0-vhxPZGYyL2TBlV0Fg4Uy0wNycd4DJqpYfWP17fP8j8RTFRMxcXubMl0_v_r2vOA-Ezf4FApNCYuLgfH-55XCT78w3mOJizNng2vZEp1NXFZPf1Rjeyj8V-LHeKf0P7BbVu-MK2eDuXwbuib3isX9Se_ETFyWGM5P2u_jfZfvg-22rF9QDOgf2eUn-vXejiW7DC7D9xRKjICL1RJywWDRx0AwbM7bCj7EMLq0kIW7KzNIcRVSi2szWmlljaOoSbe61fyCulZmsJpflL0c5hrVXrlFIbFuSCndEB8ukqTRY8NNo4krlIpjdSRkgSkejkco6QGDy2SOEA5bORJzzV-dwBfac4cuwX0PbXWynbCtaPFE3eWq6qtWohGnubsKUbdaClkPcmxolFqOEsf2OmqNRrUn1_Gaq1pzeblIUYuqVdzwERs1cC2EqpmsaUHnK-9flyqm6eRy3qi7SCXb9uRxIJ-PVnE-7vYwzveCpW4HzsM2ZSZr73LJ_0oUV_xRxcNQpj7CD4exvAcXRhdcIfAxrpBoSpSziwFcgDenn7VgvHHhrZ5_cbgTvWTG29OWfDeXsuY9JbxnvJ9cmbehMnFhvN-v8Pyd1xR_J1MY748nZcb756teO_53AAAA___ZZVNF">