]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libstdc++] [testsuite] xfail to_chars/long_double on x86-vxworks
authorAlexandre Oliva <oliva@adacore.com>
Thu, 25 May 2023 08:57:11 +0000 (05:57 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Tue, 30 May 2023 21:59:24 +0000 (18:59 -0300)
Just as on aarch64, x86's wider long double experiences loss of
precision with from_chars implemented in terms of double.  Expect the
execution fail.

for  libstdc++-v3/ChangeLog

* testsuite/20_util/to_chars/long_double.cc: Expect execution
fail on x86-vxworks.

(cherry picked from commit 7daa166fe89fca4ff1baa063c00a5a690f7e462f)

libstdc++-v3/testsuite/20_util/to_chars/long_double.cc

index 52e382e76a1dd070ac9be088094c7d5a7155be02..01bfec79bb101aa4ca4805d0ba2e008d010d9b61 100644 (file)
@@ -36,7 +36,7 @@
 
 // On systems that use double-precision from_chars for long double,
 // this is expected to fail.
-// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* } }
+// { dg-xfail-run-if "from_chars limited to double-precision" { aarch64-*-vxworks* i*86-*-vxworks* } }
 
 // { dg-require-effective-target ieee_floats }
 // { dg-require-effective-target size32plus }