aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-07-27 15:51:16 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:19:51 -0300
commitb583d3f8d6ad3c26f8efc5d7dbee9f9969a593a0 (patch)
treef26ba437958a4e6e73460c5662804014dc607aa6 /gcc
parent7545858073074d395f495d0e09c8921b1b43d163 (diff)
downloadgcc-b583d3f8d6ad3c26f8efc5d7dbee9f9969a593a0.zip
gcc-b583d3f8d6ad3c26f8efc5d7dbee9f9969a593a0.tar.gz
gcc-b583d3f8d6ad3c26f8efc5d7dbee9f9969a593a0.tar.bz2
libstdc++: Make std::from_chars always round to nearest
Also fix the tests that fail on targets without uselocale. libstdc++-v3/ChangeLog: * src/c++17/floating_from_chars.cc (from_chars_impl): Ensure that FE_NEAREST is used. * testsuite/20_util/from_chars/4.cc: Do not use if constexpr in a { target c++14 } test. [!_GLIBCXX_HAVE_USELOCALE]: Disable all tests. * testsuite/20_util/from_chars/5.cc [!_GLIBCXX_HAVE_USELOCALE]: Likewise. * testsuite/20_util/from_chars/6.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions