https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653
--- Comment #18 from dave.anglin at bell dot net --- On 2023-07-19 6:10 a.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653 > > --- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> --- > This should be fixed now, and you should see these in libstdc++.sum > > PASS: 21_strings/basic_string/numeric_conversions/char/stod.cc (test for > excess > errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stod.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stof.cc (test for > excess > errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stof.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stoi.cc (test for > excess > errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stoi.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stol.cc (test for > excess > errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stol.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stold.cc (test for > excess errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stold.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stoll.cc (test for > excess errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stoll.cc execution test > PASS: 21_strings/basic_string/numeric_conversions/char/stoul.cc (test for > excess errors) > PASS: 21_strings/basic_string/numeric_conversions/char/stoul.cc execution test > > The char/stoll.cc and char/stoull.cc tests would actually pass for hpux11.11 > as > well, but they have the { dg-require-string-conversions "" } check which > fails. Had the following fails with attached patch: Running target unix FAIL: 20_util/from_chars/4.cc execution test FAIL: 20_util/from_chars/8.cc execution test FAIL: 20_util/to_chars/float128_c++23.cc execution test FAIL: 21_strings/basic_string/numeric_conversions/char/stof.cc execution test FAIL: 21_strings/basic_string/numeric_conversions/char/stold.cc execution test FAIL: 21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc (test for excess errors) UNRESOLVED: 21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc compilation failed to produce executable FAIL: 26_numerics/headers/cmath/constexpr_std_c++23.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/functions_std_c++23.cc (test for excess errors) FAIL: 26_numerics/headers/cmath/nextafter_c++23.cc (test for excess errors) UNRESOLVED: 26_numerics/headers/cmath/nextafter_c++23.cc compilation failed to produce executable FAIL: 27_io/basic_ofstream/open/char/noreplace.cc execution test FAIL: 27_io/basic_ofstream/open/wchar_t/noreplace.cc execution test FAIL: 27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc execution test FAIL: 29_atomics/atomic/compare_exchange_padding.cc execution test FAIL: 29_atomics/atomic/lock_free_aliases.cc (test for excess errors) FAIL: 29_atomics/atomic_ref/compare_exchange_padding.cc execution test === libstdc++ Summary === # of expected passes 14134 # of unexpected failures 15 # of expected failures 106 # of unresolved testcases 2 # of unsupported tests 1014 The stof.cc and stold.cc tests fail in try-catch. /home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/numeric_co nversions/char/stof.cc:128: void test01(): Assertion 'test' failed. FAIL: 21_strings/basic_string/numeric_conversions/char/stof.cc execution test /home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/numeric_co nversions/char/stold.cc:95: void test01(): Assertion 'test' failed. FAIL: 21_strings/basic_string/numeric_conversions/char/stold.cc execution test Will retest with your commit.