]> 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 20:04:42 +0000 (22:04 +0200)
commitc6ce93538145372d2d6077e3991a3053c1262e14
tree6c29b1f42f593aa25bcd7b922626bcd37a2a0af3
parent7c184ac708535c808df04a8ec074c934c971f9c4
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).

(cherry picked from commit 291549d43e823f163fa9961e42a751b5ce0d57fb)
libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc