]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Do not use fast_float for 16-bit size_t [PR104870]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Mar 2022 21:13:20 +0000 (21:13 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 10 Mar 2022 23:45:03 +0000 (23:45 +0000)
commita8db9b90439f33af9ef602325df1f1e967fc549a
tree6da169d35f91269045a95af7aad8cf44e651dbbb
parentd016dd7dbb8140f03cde7e2179ebaf9ec3e9d2f1
libstdc++: Do not use fast_float for 16-bit size_t [PR104870]

The preprocessor condition for using fast_float should match the one in
the header, and require at least 32-bit size_t.

libstdc++-v3/ChangeLog:

PR libstdc++/104870
* src/c++17/floating_from_chars.cc: Check __SIZE_WIDTH__ >= 32
before using fast_float.
libstdc++-v3/src/c++17/floating_from_chars.cc