From a0c557690c8d5327deda6e21f8d1deca8451a4cb Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Mon, 30 Oct 2023 12:41:17 +0100 Subject: Testsuite, Darwin: skip PIE test gcc/testsuite/ChangeLog: * gcc.dg/pie-2.c: Skip test on darwin. --- gcc/testsuite/gcc.dg/pie-2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc') diff --git a/gcc/testsuite/gcc.dg/pie-2.c b/gcc/testsuite/gcc.dg/pie-2.c index 1838745..0a1cc27 100644 --- a/gcc/testsuite/gcc.dg/pie-2.c +++ b/gcc/testsuite/gcc.dg/pie-2.c @@ -2,6 +2,7 @@ /* { dg-options "-fPIE" } */ /* { dg-require-effective-target pie } */ /* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */ +/* { dg-skip-if "__PIE__ is often not defined on darwin" { *-*-darwin* } } */ #if __PIC__ != 2 # error __PIC__ is not 2! -- cgit v1.1