From a371a639b76f1bdcd7a957f400b5a7c0faf30a15 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 16 Jun 2023 03:23:47 -0300 Subject: [PATCH] [libstdc++] [testsuite] xfail dbl from_chars for aarch64 rtems ldbl 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/20_util/from_chars/4.cc b/libstdc++-v3/testsuite/20_util/from_chars/4.cc index 206e18daeb2..76e07df9d2b 100644 --- a/libstdc++-v3/testsuite/20_util/from_chars/4.cc +++ b/libstdc++-v3/testsuite/20_util/from_chars/4.cc @@ -18,7 +18,7 @@ // 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 #include