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

    <tr>
        <th>Summary</th>
        <td>
            clang-15 referencing to _nanf16 unknown - arm64  (macos darwin-port)
        </td>
    </tr>

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

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

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

<pre>
    ```c
# if (__has_builtin(__builtin_nanf16))
  return __builtin_nanf16(s);
# else
...
# endif
```

resulting in : Undefined symbols for architecture arm64: "_nanf16" ; so the __has_builtin test is satisfy, meanwhile there is no nanf16 availability on this platform.


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkUs2uozwMfZqwsYqC-V-waL-rvsG3rkIwkJmQVHG4Vd9-FNqZe0cjWcDBxyfHjhWzWRzRIOqLqD8ytcfVh2Hb67bLRj89B9HIV2ghP4Q8CyzBzCCwu91WxbdxNzYad-D3980pNxeNwD7FUQUQKO7Bwb-kjhOrvHzJk2V6oTzPv_12k5nf8LepNzyegXhPygsYB6I8w_9uotk4moCf2-gtw-wDqKBXE0nHPRCosDVV4grEP44QRHkB9hBXgr-6hEgcwTCwiobnp8D_YCPlHquxlOiBUtZ5eGmB-lTGqtFYE5_gHcTVMNytirMPW_7dfTYN5dSXvcpoKJquKitZIGbr0GCvqrZC7FVRTGM1dX0t676dVdOVhewzM6DEUtZFWzRFjZjLui1It52muSul1qKStCljc2s_t9yHJTPMOw0Nth1mVo1k-VgAREcPOJICMe1DGFLNadwXFpW0hiN_qUQTLQ3aKrecihoCzRTI6XQD0cN7nLC7n84_HJxew4a0OpvSnmFS4WHc6e5DFNhne7DDGuOdRXkWeBV4XUxc9zHXfhN4Tce-X6d78D9IR4HXwywLvB7N_AoAAP__ht_efw">