diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-11-23 11:53:54 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-11-23 11:53:54 +0100 |
commit | e6a32c12b4ef87c084d29863c79503344126d101 (patch) | |
tree | ab19abc9bd8f46fd886a1f143c8a3dd97f08b7fe /libcpp | |
parent | 1cac00d013856fea4cee0f13c4959c8e21afd2d9 (diff) | |
download | gcc-e6a32c12b4ef87c084d29863c79503344126d101.zip gcc-e6a32c12b4ef87c084d29863c79503344126d101.tar.gz gcc-e6a32c12b4ef87c084d29863c79503344126d101.tar.bz2 |
libstdc++: Fix libstdc++ build on some targets [PR107811]
fast_float library relies on size_t being 32-bit or larger and float/double
being IEEE single/double. Otherwise we only use strtod/strtof.
In 3 spots I've used fast_float namespace stuff unconditionally in one
function, which breaks the build if fast_float is disabled.
2022-11-23 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/107811
* src/c++17/floating_from_chars.cc (__floating_from_chars_hex): Guard
fast_float uses with #if USE_LIB_FAST_FLOAT and for mantissa_bits and
exponent_bits provide a fallback.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions