From e504f90fe9123d256f6bc556badb25d1d0aa7046 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 23 May 2022 18:42:32 -0500 Subject: testsuite/libffi.closures: Fix PowerPC 64 (#709) -mlong-double-128 is only supported on glibc. This test still passes on glibc targets, and now passes on musl targets as well (which uses 64-bit ldbl). --- testsuite/libffi.closures/cls_align_longdouble_split.c | 2 +- testsuite/libffi.closures/cls_align_longdouble_split2.c | 2 +- testsuite/libffi.closures/cls_longdouble.c | 2 +- testsuite/libffi.closures/huge_struct.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite') diff --git a/testsuite/libffi.closures/cls_align_longdouble_split.c b/testsuite/libffi.closures/cls_align_longdouble_split.c index fe874c2..128d6e1 100644 --- a/testsuite/libffi.closures/cls_align_longdouble_split.c +++ b/testsuite/libffi.closures/cls_align_longdouble_split.c @@ -5,7 +5,7 @@ Originator: 20031203 */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ -/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ +/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ #include "ffitest.h" diff --git a/testsuite/libffi.closures/cls_align_longdouble_split2.c b/testsuite/libffi.closures/cls_align_longdouble_split2.c index 88d239d..3562a57 100644 --- a/testsuite/libffi.closures/cls_align_longdouble_split2.c +++ b/testsuite/libffi.closures/cls_align_longdouble_split2.c @@ -6,7 +6,7 @@ */ /* { dg-do run { xfail strongarm*-*-* } } */ -/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ +/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ #include "ffitest.h" diff --git a/testsuite/libffi.closures/cls_longdouble.c b/testsuite/libffi.closures/cls_longdouble.c index 2023172..2cfac4b 100644 --- a/testsuite/libffi.closures/cls_longdouble.c +++ b/testsuite/libffi.closures/cls_longdouble.c @@ -7,7 +7,7 @@ /* This test is known to PASS on armv7l-unknown-linux-gnueabihf, so I have remove the xfail for arm*-*-* below, until we know more. */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ -/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ +/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ #include "ffitest.h" diff --git a/testsuite/libffi.closures/huge_struct.c b/testsuite/libffi.closures/huge_struct.c index 6dc631f..63353e3 100644 --- a/testsuite/libffi.closures/huge_struct.c +++ b/testsuite/libffi.closures/huge_struct.c @@ -6,7 +6,7 @@ */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* wasm32*-*-* } } */ -/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ +/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ /* { dg-options -Wformat=0 { target moxie*-*-elf or1k-*-* } } */ #include -- cgit v1.2.1