From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 29B5C384AB6A; Tue, 16 Apr 2024 08:57:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29B5C384AB6A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 29B5C384AB6A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713257834; cv=none; b=JITInr44yDWlEebdRU/L3zA9Vm6lqNUKszeRo2mqluxSxJPdItaQ7jveoySCVO9h2AkQt6jvFW/UU1zEsq402ccvCVq8MMDJzWPEJ/2jkK8fVqPkw6mCKakQ26Vt3kWRHV2TfTki9PAj+zu4StFqGtHMZJzH339c1ROZmBmt8MY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713257834; c=relaxed/simple; bh=xaah/K+EzIHaRqWOOolS0DaD9vCGEfQazxvtY+08h6M=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=RCXu+SMqqPeasLmv6UDflSLEBcFl7NNSRuaLwd5G2gcm9uJnk+l/Z3LMtLiirEf5lxHoWgw2ZYFa3hJiJoo2oEKnDG7a9iYz645kPCXOsawBn+xVfCcmvN1bCM77zmvZP8V5TV0UKwhUQ74+93O83/Z1NhoKMS9RNNNzIgHKmq8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D4B2CDA7; Tue, 16 Apr 2024 01:57:38 -0700 (PDT) Received: from [10.2.78.64] (e120077-lin.cambridge.arm.com [10.2.78.64]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9D8B23F792; Tue, 16 Apr 2024 01:57:09 -0700 (PDT) Message-ID: <6ad418f2-6338-4703-ba45-4e794757ce72@arm.com> Date: Tue, 16 Apr 2024 09:57:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [testsuite] [aarch64] Require fpic effective target To: Alexandre Oliva , gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , Richard Sandiford , Marcus Shawcroft , Kyrylo Tkachov References: From: "Richard Earnshaw (lists)" Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3497.5 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_SHORT,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 16/04/2024 04:08, Alexandre Oliva wrote: > Regstrapped on x86_64-linux-gnu. Also tested with gcc-13 on arm-, > aarch64-, x86- and x86_64-vxworks7r2. Ok to install? > > Co-authored-by: Olivier Hainque > > for gcc/testsuite/ChangeLog > > * gcc.target/aarch64/pr94201.c: Add missing > dg-require-effective-target fpic. > * gcc.target/aarch64/pr103085.c: Likewise. > > --- > gcc/testsuite/gcc.target/aarch64/pr103085.c | 1 + > gcc/testsuite/gcc.target/aarch64/pr94201.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/gcc/testsuite/gcc.target/aarch64/pr103085.c b/gcc/testsuite/gcc.target/aarch64/pr103085.c > index dbc9c15b71f22..347280ed42b2d 100644 > --- a/gcc/testsuite/gcc.target/aarch64/pr103085.c > +++ b/gcc/testsuite/gcc.target/aarch64/pr103085.c > @@ -1,5 +1,6 @@ > /* { dg-do compile } */ > /* { dg-options "-O2 -fstack-protector-strong -fPIC" } */ > +/* { dg-require-effective-target fpic } */ > > void g(int*); > void > diff --git a/gcc/testsuite/gcc.target/aarch64/pr94201.c b/gcc/testsuite/gcc.target/aarch64/pr94201.c > index 691761691868a..3b9b79059e02b 100644 > --- a/gcc/testsuite/gcc.target/aarch64/pr94201.c > +++ b/gcc/testsuite/gcc.target/aarch64/pr94201.c > @@ -1,5 +1,6 @@ > /* { dg-do compile } */ > /* { dg-options "-mcmodel=tiny -mabi=ilp32 -fPIC" } */ > +/* { dg-require-effective-target fpic } */ > > extern int bar (void *); > extern long long a; > OK R.