]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libstdc++] [testsuite] xfail dbl from_chars for aarch64 rtems ldbl
authorAlexandre Oliva <oliva@adacore.com>
Fri, 16 Jun 2023 06:23:47 +0000 (03:23 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 16 Jun 2023 06:41:27 +0000 (03:41 -0300)
rtems, like vxworks, uses fast-float doubles for from_chars even for
long double, so it loses precision, so expect the long double bits to
fail on aarch64.

for  libstdc++-v3/ChangeLog

* testsuite/20_util/from_chars/4.cc: Skip long double on
aarch64-rtems.

libstdc++-v3/testsuite/20_util/from_chars/4.cc

index 206e18daeb229121a43f52b28fbf15d02a10f194..76e07df9d2bf3f3d2d3a2b662544b048af5cd748 100644 (file)
@@ -18,7 +18,7 @@
 // <charconv> is supported in C++14 as a GNU extension
 // { dg-do run { target c++14 } }
 // { dg-add-options ieee }
-// { dg-additional-options "-DSKIP_LONG_DOUBLE" { target aarch64-*-vxworks* x86_64-*-vxworks* } }
+// { dg-additional-options "-DSKIP_LONG_DOUBLE" { target aarch64-*-rtems* aarch64-*-vxworks* x86_64-*-vxworks* } }
 
 #include <charconv>
 #include <string>