[PATCH] libstdc++: Fix test assumptions on long and long double
Matthias Kretz
m.kretz@gsi.de
Fri May 26 11:02:57 GMT 2023
OK for master and all backports (after 11.4 is done)
tested on powerpc64le-linux-gnu (with 64-bit long double)
----------- 8< ------------
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).
---
.../experimental/simd/tests/operator_cvt.cc | 30 +++++++++++++++----
1 file changed, 24 insertions(+), 6 deletions(-)
--
──────────────────────────────────────────────────────────────────────────
Dr. Matthias Kretz https://mattkretz.github.io
GSI Helmholtz Centre for Heavy Ion Research https://gsi.de
stdₓ::simd
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libstdc-Fix-test-assumptions-on-long-and-long-double.patch
Type: text/x-patch
Size: 3210 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20230526/345daf3d/attachment-0001.bin>
More information about the Libstdc++
mailing list