https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105324
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>: https://gcc.gnu.org/g:e8cd7d0066e0ba2a082b0e7de35e883837546583 commit r12-8347-ge8cd7d0066e0ba2a082b0e7de35e883837546583 Author: Alexandre Oliva <ol...@adacore.com> Date: Fri May 6 07:26:04 2022 -0300 [PR105324] libstdc++: testsuite: pr105324 requires FP from_char The floating-point overloads of from_char are only declared if _GLIBCXX_HAVE_USELOCALE is #defined as nonzero. That's exposed from charconv as __cpp_lib_to_chars >= 201611L, so guard the test body with that. for libstdc++-v3/ChangeLog PR c++/105324 * testsuite/20_util/from_chars/pr105324.cc: Guard test body with conditional for floating-point overloads of from_char. (cherry picked from commit 25389f3de489c25a6983db96428a6bf06aedc829)