]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix test assumptions on long and long double
authorMatthias Kretz <m.kretz@gsi.de>
Thu, 25 May 2023 10:07:45 +0000 (12:07 +0200)
committerMatthias Kretz <m.kretz@gsi.de>
Tue, 30 May 2023 14:19:06 +0000 (16:19 +0200)
commit291549d43e823f163fa9961e42a751b5ce0d57fb
treebe78ebe2f723cfa7ade7e7595447cd885269cfce
parent2a941f9f824b64ea8b42c885746fbc5f5321589d
libstdc++: Fix test assumptions on long and long double

Expect that long might not fit into the long double mantissa bits.

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:

* testsuite/experimental/simd/tests/operator_cvt.cc: Make long
double <-> (u)long conversion tests conditional on sizeof(long
double) and sizeof(long).
libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc