<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/83148>83148</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Flang][OpenMP][Feature Request] accept `-fno-openmp`
</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 think flang-new should accept `-fno-openmp`. Clang and Gfortran accept this.
```console
$ clang -fno-openmp test.c
$ gfortran -fno-openmp test.f90
$ flang-new -fno-openmp test.f90
flang-new: error: unknown argument: '-fno-openmp'
```
But I think the priority is not so high because the intended behavior is achieved by not specifying `-fopenmp`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0ksGumzwQhZ_GbCyQYzAJCxb3_hG_uqha9Q2MPWA3jk3tcaK8fQVJmqtWV0IwjL4Z-xwdmZKdPUBPxDsRx0JmNCH2p1LGGK6pGIO-9V8oGutPdHLSz6WHK00mZKepVAoWpKRl5eRDGRbw54W0rKL_rSiVXtP_pxAxSv-E0dhUEXYk7I207P6o4FNw8Ojyhqpt_MNSipCwUi9ifq79B5o69sJeV_6c-8OQ-o1CjCGuRfYnH66eyjjnM3hce4TvPwrl-790PH6393tG-jQODdAl2hAt3qhN1AekKVBjZ0NHUDIn2BjrEbwGTUcw8mJDXGGpjIXL2rzdBxdQdrpZP9-Nf7le6L7WXd3JAvrdnnWs6Tp2KEyv24m1Yux4d5C8EVKLWkgu5MikrncCCttzxhvG-X7XMsGaStbt1IE-qLZlI2cNaRicpXWVc5dzFeJc2JQy9Id61xwKJ0dwacsQ55udhPM1TrFf-XLMcyINczZhem1Ai24L3rBNiCMR798W8F-_3-sBJOYI9Af8ypCQiOOngStydL1BXBKp3wgfCB9miyaPlQpnwof1zMenXGL4CQoJHzYJifBhU_E7AAD__0EZ98w">