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

--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Created attachment 53953
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53953&action=edit
> gcc13-pr107815.patch
>
> Untested workaround.  I've left out Darwin there for now, because I think

It's only necessary on sparc: i386-pc-solaris2.11 PASSed even before.
That's what I've been using successfully last night:

+// Solaris has non-conforming printf, see PR98384 and PR107815.
+#if !(defined(__sun__) && defined(__svr4__) && defined(__sparc__))
     std::numeric_limits<std::float128_t>::max()
+#endif

Reply via email to