From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 8B3553858D37; Sat, 20 Apr 2024 14:48:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B3553858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713624531; bh=eAfnl9QJN6iufnvlBb/WQHAtu/90M9jBShT7g1JUyaw=; h=From:To:Subject:Date:From; b=HMMd7G/d0IwNsZ3Uji49XCQDHKuyghAmxpYy56ogoiGLSdwxShZmDxG41n/JWyacc B3yQvDKX74+JiqLs5egy19APt2tjuBXhIk39a2JdKQNAhoZeTp2dTTYohADlIEid5t Oe41X+rXptdQoFiS2MVADDP324vtX2YDU1Ia+2a4= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-10366] Testsuite, Darwin: skip PIE test X-Act-Checkin: gcc X-Git-Author: Francois-Xavier Coudert X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 65f76ed01aca192ccfc13764456892760f9ab1fd X-Git-Newrev: a6fa5387a3aaaa417ee46a97886d1065eb102363 Message-Id: <20240420144851.8B3553858D37@sourceware.org> Date: Sat, 20 Apr 2024 14:48:51 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a6fa5387a3aaaa417ee46a97886d1065eb102363 commit r12-10366-ga6fa5387a3aaaa417ee46a97886d1065eb102363 Author: Francois-Xavier Coudert Date: Mon Oct 30 12:41:17 2023 +0100 Testsuite, Darwin: skip PIE test gcc/testsuite/ChangeLog: * gcc.dg/pie-2.c: Skip test on darwin. (cherry picked from commit a0c557690c8d5327deda6e21f8d1deca8451a4cb) Diff: --- gcc/testsuite/gcc.dg/pie-2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/pie-2.c b/gcc/testsuite/gcc.dg/pie-2.c index 1838745a11a..0a1cc27a503 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!