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

    <tr>
        <th>Summary</th>
        <td>
            Flang-new 15.0.7 core dumped on OpenMP example
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          antoine-morvan
      </td>
    </tr>
</table>

<pre>
    Hello, 

I tried compiling an OpenMP example (adapted from this https://people.math.sc.edu/Burkardt/f_src/openmp/compute_pi_openmp.f90).
The command I used was :
```
flang-new -flang-experimental-exec -fopenmp -O3 -march=native -mtune=native openmp_sample.F90 
```

The command crashed with a rather long message, essentially saying: 
```
LLVM ERROR: aborting
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
[...]
flang-new: error: unable to execute command: Aborted (core dumped)
flang-new: error: flang frontend command failed due to signal (use -v to see invocation)
```

Flang is also telling me to attach 2 files for reproducing purposes. I dropped them here, along with the input F90 file and the full command log :
https://github.com/antoine-morvan/openmp_sample-6c3e26

Best.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVE1v4zYQ_TX0ZSBBpmTZOujgNBEaIIss0qLXYESOJXYpkuCHN_n3BeXU2abBHhYwLGk4mPdm3htiCGoyRD3b3bDd7QZTnK3v0USrDBWL9Wc0m9HK1_530toy_huw6pZVx8v_PUSvSIKwi1NamQnQwKMj8-Ur0AsuThMwfkCJLpKEk7cLxFkFmGN0gdVHxgfGB0fWaSoXjHMZREkyMT7cJP8NvYyMD6fn4AXjg3VkFsf4kPFSpGenni-x8tRVjHflhdafM2VKCxoJ95ACSfiOATLehXxbvf3Wz5NGMxWGvkNxeaUXR14tZCLqgl5IQHG64EDxWEOxoBczq28NRnUmKJaYDL1_X1Kfw9p_OXQVfAr7f67CY5gzWRVnQPAYZ_KgrZlgoRBwoiwAhUAmKtT6FQK-KjOx-vg5xMPDX1_g7unp8Smn4Gh9zOnr2deHu-MfdxDSuKgICGOawJOzPkK0HwSaVJzTWAq7MD5off73UThv_yaRNVIhJAqMD5A7UUboJAli7i53BSOKb9GjoDeN2O6mLEu2u_2gQSZK3lufX5LBUVPmk1VI8TqqfHjM7ZDMBhPWE8i0OJKMdz-ruEazEU0kI6-TP6HSJEGmFSwvBepcOAWC4rzGiECZsxUYlTVXlE81HVYQFQB1sBBJr6uxrLUxRhQzcDgpTQFO1uepeyuTyEkueWcDhRLuQXrrHMk8xAVm8qv6uNphdUgerjIuRcgey_XW2efwKWl9bU7b6d37PxH2v2t_3bc3IxetqIm3P_Z5QyGWG9nXsqs73FC_bfeHptk3u3Yz92LHxVh1VdfRTh5E2-wJ93V9oKap67bpNqrnFa-relttt7zZtmUrtjWOe7GT2O1ldWBNRQsqXWavldZPm9Vlfbuteb3ROJIO69XFed7e9ZBxnm8y36_-HNMUWFNpFWJ4rxJV1NQP17Xf7sqq3MMPLgL78R7bJK_7X9-KlfI_AQAA__-IIsBl">