diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-05-31 18:01:13 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-05-31 20:57:31 +0100 |
commit | a239a35075ffd8b34f1db72c22998a625ff962b5 (patch) | |
tree | 6fd45419a32ad1ef03c4616ed092525b41ba1652 /libstdc++-v3/include/std/filesystem | |
parent | 2a919c08abb2cc5aeb31abb400b3489f67467dbf (diff) | |
download | gcc-a239a35075ffd8b34f1db72c22998a625ff962b5.zip gcc-a239a35075ffd8b34f1db72c22998a625ff962b5.tar.gz gcc-a239a35075ffd8b34f1db72c22998a625ff962b5.tar.bz2 |
libstdc++: Fix build for targets without _Float128 [PR109921]
My r14-1431-g7037e7b6e4ac41 change caused the _Float128 overload to be
compiled unconditionally, by moving the USE_STRTOF128_FOR_FROM_CHARS
check into the function body. That function should still only be
compiled if the target actually supports _Float128.
libstdc++-v3/ChangeLog:
PR libstdc++/109921
* src/c++17/floating_from_chars.cc: Check __FLT128_MANT_DIG__ is
defined before trying to use _Float128.
Diffstat (limited to 'libstdc++-v3/include/std/filesystem')
0 files changed, 0 insertions, 0 deletions