[Bug libstdc++/103387] powerpc64le: segmentation fault on std::cout with ieee128 long double variable

tuliom at ascii dot art.br gcc-bugzilla@gcc.gnu.org
Wed Nov 24 22:37:29 GMT 2021


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

Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuliom at ascii dot art.br

--- Comment #2 from Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> ---
(In reply to Michael Meissner from comment #1)
> I tried it on a current trunk compiler (from November 23, 2021) using glibc
> 2.34 (IBM AT 14.0), and it does fail.  It works fine if I build a toolchain
> where the default long double is IEEE 128-bit.

So, it sounds like this is happening because libstdc++ is not distributing cout
implementations for all the supported long double types, but just for the
default type as explained in bug #100912.


More information about the Gcc-bugs mailing list