<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56272>56272</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] Incorrect missing-space warning in format item
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
chilikink
</td>
</tr>
</table>
<pre>
Using flang from the main branch (commit 1088d4ad749fd79cc1c3aa9c55b926bbf5ef64f7), compilation of the following code
```
1 FORMAT(F10.3)
END
```
with `-std=f2018` results in a warning about missing space within the format item "F10.3":
```
$ flang -c test.f90 -std=f2018
./test.f90:1:11: portability: missing space
1 FORMAT(F10.3)
^
./test.f90:1:3: in the context: FORMAT statement
1 FORMAT(F10.3)
^
./test.f90:1:1: in the context: implicit part
1 FORMAT(F10.3)
^
./test.f90:1:1: in the context: specification part
1 FORMAT(F10.3)
^
./test.f90:1:1: in the context: main program
1 FORMAT(F10.3)
^
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VNuOmzAQ_RrzYgUZEwg88JA2G6kPbaWq_YDxBeKuwcg2TffvOybZ7a6UrbaVioxhsH3OmdEZhFMP3bdgpoH2FtLs3UjjSdMRzESFh0meKOGNdONoIi1Y06gtqN227dWulbKQJUArq0q0vBair3Rfb_sd4S3h7ymemo2FaNxEXb_i9s5ad06E0ilN2IGwPanZdaxhQY-fv3zcf0XaY8HyMoGtC3efDjcPnE1EkTXbhKhIeeg5KxoMqddhsTFQzAToGfyUaEG4JdLRhDXrMIPUNAHgpos-P0KkJuoR8-ZXAZyU-5vUhG-vldtIGnWIed8y-kLIui8n_Pi4jFhFutNEZ-cjCGNNfEjhC12Xo5S-WhD67CLV3atUZYK-JijdFPXPmL5cUGmIgNnqKb6J7088xW0eM87WSLTPDP4tJP9AEWYtTW_kxWv_j2dti9m7wcP4NwxPtslUV6q2bCGLJlrdkerd6h9SHeiHSTrvtXyy5-Zqz6t1kfqZPbPF2-4U4xySOfkRx4A-XkSObYeBtT8eHxtU_B1xMUTgRQd8qWq-49mpg5LzSjZVLWAnVA_FTjGl20apkkFTtZkFoW1IQrEPJn2mK0TqieqQmY4zzlnNG14URdnkvKxBtBI0bGWDvwKyZRqLZvOkI3d-yHy3ShLLEHDRmhDD70XAvIdJr3VJ-LDEk_OdPGGH3JvpPlvJu1X8L0HBXnk">