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

    <tr>
        <th>Summary</th>
        <td>
            Error: use of undeclared identifier '__builtin_fabsq'` when newer GCC 13.1.1 snapshots is installed
        </td>
    </tr>

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

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

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

<pre>
    With a recent GCC 13.1.1 snapshot installed from 2023-06-24, I see build errors with Clang-17 (c1dc914a8ca240650d7411d25c75ad7e2a5974e9) with several projects that used to work fine before, e.g. when compiling mold-git, I now see :

```
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/bits/std_abs.h:142:12: error: use of undeclared identifier '__builtin_fabsq'
  142 |     return __builtin_fabsf128(__x);
      | ^
/usr/include/bits/floatn.h:101:31: note: expanded from macro '__builtin_fabsf128'
  101 | #   define __builtin_fabsf128 __builtin_fabsq
      | ^

```

This used to work just fine with earlier GCC 13.1.1 and LLVM-17 snapshots. I cannot tell if it is actually a GCC or LLVM/Clang problem.

CPU: Intel Haswell-EP
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVE1vpDgQ_TXuSwkEZT6aA4ekJ-xGmpXmsB_HlrGLxrNuu9c26cy_XxnSk0myexrLKkDwzKuq90qEoE-WqGf1Pas_7cQSZ-f7cyjb_W506lv_l44zCPAkyUb45XCAkudlXkKw4hJmF0HbEIUxpGDy7gxYIM-KJsOK4QEeIRDBuGijgLx3PsA1nXgwwp6ysgWGe1kq2ZWV2EuBVdHUhWqrslRYy7YWqiUUdddW1DHsNnCgJ_LCwMW7ryRjgDiLCEsgBdHB1fm_YdKWYKTJeUo0KD_lcJ3JgnTnizbanuDsjMpOOm40rbuuVBm_Y8UnVtxiU7zs7RGHJXiGw6gtwyHPGQ5Gj03FcDhJyXB43jfHpsouMjPaLs_ZyS4Mh61mN8S7oK00iyKGg2R4v-5XwKhjYDiEqI5iDPnM-F1ZYYopbDVNN0sgcBMsVpE0wpMCrchGPWnywLA9HlMTorbHSYzhH4btlhFAWSGw9gBpeYqLt_D246nEPcP98fjMsGP8_gZMKwFZ_fCuOq8ZvdCfjBPRbuyLkvE7ngJYF2nN4vkirLop6Cykdx85bzReaRfl9nfkAKBo7fhHBLxP_H_J_2e_1_j7rMNbeX1dQtw0tgqShDepzj_YQ1gFnz__-VvS-M0qIYdHkMJaFyGSMaAn0BF0ACHjIoz5BmI9w_kVy3BYfZKEPho65z-SOnz5I5Xu0UYy8KsIVzIme_iyUz1XHe_Ejvqy2e85x67D3dzzCsW074pKFoWocJq4mjjJiVRdTjWWO90n6xZtgVgiLzFvuKoRpWqbjndNV7GqoLPQJjfm6Zw7f9rpEBbqG95UuDNiJBPWQYJo6QrrS4aY5orvEyYbl1NgVWF0iOH1lKijof7hJ5TcFJu5LV3fduF75VORvw-q3eJNP8d4CcntOCTz6jgvYy7dOTnaPN0u2cuMSaJO-SQxr_n-GwAA__8gHJZ1">