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

    <tr>
        <th>Summary</th>
        <td>
            wrong value for BOOL_WIDTH
        </td>
    </tr>

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

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

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

<pre>
    C23 has a new feature test macro BOOL_WIDTH which is fixed by the standard to the value 1.
Clang has it as 8 in v. 14 to 20, gcc has the correct value.

Test this by compiling with `-std=c2x`

```
#include <limits.h>
static_assert(BOOL_WIDTH == 1);
```

Thanks
Jens
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUk2L2zwQ_jXjy7DGlhx_HHTYTd7wthT2stDjosgTS61iL5pxsvvvi-1AcygYS8PM8yGescxhGIkM7F5gd8jsLH5KZphZqJfsNPVfZq80estocaQbnsnKnAiFWPBiXZrw5fX1x_vPb4e3__Hmg_MYGM_hk3o8faF4QhY79jb1KNNaX22cCcscigMUz_tox2FVCIKWscUw4jXHslrmVQFqj4Nz68SCdlNK5GRjuXNs_7fFk_jAi7CbLh8hhnHAWxCPUBdPLD3og1OfUBePuKXcvq1UOowuzj0h6H0MlyCce9D_bW0WK8G9W2ZKAqp9eD7oA-gDlqA60C__Jt-cejv-5u3-nUbOeqP7Tnc2I1M2Wqmuqsoy86arddcUekeddY07t67TTX22TVVXrqudy4JRharKUqmy3mld5Lu2o_ZErbakO9uUUBV0sSHmMV4v-ZSGLDDPZMqy0VWbRXuiyGv-Si0Br11QalmHZBbQ02keGKoiBhb-SyNBIplbmsbhnuh5Sg_LkM0pGi_ywaCfQR1BHYcgfj7lbrqAOi5E9-PpI02_yAmo4yrPoI53f1ej_gQAAP__03bOFg">