* [PATCH] testsuite: Require dfp for pr112943.c
@ 2023-12-15 3:01 Hongyu Wang
0 siblings, 0 replies; only message in thread
From: Hongyu Wang @ 2023-12-15 3:01 UTC (permalink / raw)
To: gcc-patches; +Cc: hongtao.liu, fxcoudert
Hi,
As Coudert points out, this test fails on darwin as it does not
support _Decimal64, so require dfp for it.
Pushed as obvious fix.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr112943.c: Require dfp.
---
gcc/testsuite/gcc.target/i386/pr112943.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/pr112943.c b/gcc/testsuite/gcc.target/i386/pr112943.c
index 7e299bd4b5e..b1840a1f462 100644
--- a/gcc/testsuite/gcc.target/i386/pr112943.c
+++ b/gcc/testsuite/gcc.target/i386/pr112943.c
@@ -1,5 +1,5 @@
/* PR target/112943 */
-/* { dg-do compile { target { ! ia32 } } } */
+/* { dg-do compile { target { dfp && { ! ia32 } } } } */
/* { dg-options "-O2 -march=westmere -mapxf" } */
typedef unsigned char __attribute__((__vector_size__(1))) v8u8;
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-15 3:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-15 3:01 [PATCH] testsuite: Require dfp for pr112943.c Hongyu Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).