[Bug libstdc++/110653] Support std::stoi etc. without C99 APIs
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 19 10:04:32 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653
--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:f07136af570b145fe0df6b142defc9558998bf53
commit r14-2637-gf07136af570b145fe0df6b142defc9558998bf53
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Sat Jul 15 20:58:22 2023 +0100
libstdc++: Enable tests for std::stoi etc. unconditionally [PR110653]
Since the narrow string versions of std::stoi, std::stol, std::stoul,
std::stof and std::stod are now always defined, we don't need to check
dg-require-string-conversions in the relevant tests.
libstdc++-v3/ChangeLog:
PR libstdc++/110653
*
testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
Remove dg-require-string-conversions.
*
testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
Likewise.
*
testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
Likewise.
*
testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
Likewise.
*
testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
Likewise.
More information about the Gcc-bugs
mailing list