<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57621>57621</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Is there any plan to make flang available on 32-bit platforms?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
licy183
</td>
</tr>
</table>
<pre>
From `flang's README.md`:
```
The code has been compiled on AArch64, x86_64 and ppc64le servers with CentOS7, Ubuntu18.04, Rhel, MacOs, Mojave, XCode and Apple Clang version 10.0.1.
```
I tried to build flang for `i686-pc-linux-gnu`, and some error happened as the following.
```
error: constant expression evaluates to 9223372036854775807 which cannot be narrowed to type 'std::size_t' (aka 'unsigned int') [-Wc++11-narrowing]
std::size_t max{std::numeric_limits<std::int64_t>::max()};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: insert an explicit cast to silence this issue
std::size_t max{std::numeric_limits<std::int64_t>::max()};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static_cast<size_t>( )
1 error generated.
```
It seems that flang is not available on 32-bit platforms, so is there any plan to support them?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzlVMlupDAQ_RpzsRoZsx849CrlEEWaRTO3yEA1ODEGYdPLfP2UoScZRa1c5zDIAuyy672q8quyr6_FYew7ShJ2VEI3hKeGftmvd497v6txlYRrwnaErd3_MubptxZo1ddAW2FoCaBx1g1SQU17TdfrsWqTiPAtvWTJcxJRoWs6DFUSKaAGxhOMhp6lbekWtH36mrqt38tJ2ynIfDaf_NKCct9HUT2Z-ad_ESdwfz-3Dtr5XA8Detw67tQ5lYgeMJ_5gX-X9_J-oHaUSNX2tJykqukcPD32o8uETLJkNVQrJfV0WTV6cqcR1eGZvgMK44g7WzEMoNELZsBiOo69Uv1Z6sb_G-oNny7z-SxmFfOljRXaUrgMI5iZOZyEmoQF45jlnIdhylmYZHGUpnHGUnpuZdXSSmjdW0w71QLdnZdI7HUA6gpoa1e1cG3kL3i2uIKrmXgVzjhpIxtHWmpnITynJN6sflSEb3AEwWpxiWGQeLdQpvh8cEo7cSHp5m1VTx2MsnpWspPWkHD7ZkGcJEIW4X6Zu4M8Q1yS7ki4eUf4-JB4T9J_MWZGmF9wVZIab6vF0rsyKVlJi9k31uXb4G3XFWDtpaHSmAn-33TdY4S322KMLl0uwuUyYlw8u8sfQ5xdBTd5NaitEbVQfypki90EOidAYW8qxmo4dYiTkEqU2B1QWCFflVi6QQmLIu_mdmJ6txWVO7pWcnVGPdd1GoYea46WjoSHBciDIkgSnoQsCrlXF2Gdh7nwrLQKiod7bjrxCjdGn1MJD940qqK1djCu6PyAo8HeOJU-NlWcKHX681kNY_8CFWr3MF85jOQQpwkPvLYoj1XGIn4UPGd1DLnI0iQQvKrTPM6CgHvIAZQpUPCEcw3n263lHKXuyYIzzlnOMpZHacD9KE-TLBJZFUOZ54yRiEGHgfiOh9-PjTcWM6VyagwalTTWvBuFmTsNzHDoX0y27fGErK5BFnozdDFT_w1_tN7Z">