diff mbox series

testsuite: Require dfp for pr112943.c

Message ID 20231215030115.2757951-1-hongyu.wang@intel.com
State New
Headers show
Series testsuite: Require dfp for pr112943.c | expand

Commit Message

Hongyu Wang Dec. 15, 2023, 3:01 a.m. UTC
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 mbox series

Patch

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;