]> 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:24:04 +0000 (16:24 +0200)
commitf51bb83b51be359d0212433e89e560644d44980c
treed8626b57d4150f2bfd582aba97793b9f2666acd4
parent15aca2cbe9729f1ee5b9128998654f253f4a2c5f
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