[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 23 15:45:30 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, we even have PR98384 for that.
So either we add
// { dg-xfail-run-if "Non-conforming printf (see PR98384)" { *-*-solaris*
*-*-darwin* } }
to the test and thus xfail it all, or just ifdef out the max case if everything
else is fine.
Would that be
+// Solaris and Darwin have non-conforming printf, see PR98384 and PR107815.
+#if !(defined(__sun__) && defined(__svr4__)) && !defined(__MACH__)
     std::numeric_limits<std::float128_t>::max()
+#endif
?


More information about the Gcc-bugs mailing list