https://gcc.gnu.org/g:e037c6e95e2108dda45a71a6c55fd84e34702735

commit r17-543-ge037c6e95e2108dda45a71a6c55fd84e34702735
Author: Rainer Orth <[email protected]>
Date:   Sat May 16 09:01:42 2026 +0200

    libstdc++: Remove Solaris workaround in 20_util/to_chars/float128_c++23.cc 
[PR107815]
    
    As described in PR libstdc++/107815, one subtest of
    20_util/to_chars/float128_c++23.cc was disabled on Solaris due to a bug
    in printf(3C).  This has been fixed since October 2023, so the
    workaround can be removed.
    
    Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and
    x86_64-pc-linux-gnu.
    
    2026-05-13  Rainer Orth  <[email protected]>
    
            libstdc++-v3:
            PR libstdc++/107815
            * testsuite/20_util/to_chars/float128_c++23.cc (test): Remove
            Solaris workaround.

Diff:
---
 libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc 
b/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc
index ca137bd57ab0..6693f05c2af3 100644
--- a/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc
+++ b/libstdc++-v3/testsuite/20_util/to_chars/float128_c++23.cc
@@ -52,10 +52,7 @@ test(std::chars_format fmt = std::chars_format{})
     std::numbers::inv_sqrt3_v<std::float128_t>,
     std::numbers::egamma_v<std::float128_t>,
     std::numbers::phi_v<std::float128_t>,
-// Solaris has non-conforming printf, see PR98384 and PR107815.
-#if !(defined(__sun__) && defined(__svr4__))
     std::numeric_limits<std::float128_t>::max()
-#endif
   };
   char str1[10000], str2[10000];
   for (auto u : tests)

Reply via email to