From patchwork Wed May 15 12:39:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 164291 Delivered-To: patch@linaro.org Received: by 2002:ac9:2a84:0:0:0:0:0 with SMTP id p4csp607034oca; Wed, 15 May 2019 05:45:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhztH2hknTM0zs6zv844tmB6NxJN0slCBwxqxC9pjLZslT36dr1REbStB52stP8XSL1MGN X-Received: by 2002:a17:902:868c:: with SMTP id g12mr26290889plo.323.1557924359176; Wed, 15 May 2019 05:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557924359; cv=none; d=google.com; s=arc-20160816; b=g8CDw621+fS/7cKSb+h7gHPmD0cTJOw3NZbLWaHb5yq4ORbXP+NdJG6Y/JUdd8YY5B vcyFgX0gitAfxt+4dbt0UkcxdIx/M+a8F8PR7AS9xiH1edhe6+svWbSCWRBf0B0binbM FQxFGPeANXY5dMBrYsTPBknQTqUsQ/nph7O9ei/NaRV4X54vAbB7vK3Zx9b2KktFcwHZ yGyOeK+rMtCT8750SaJ7I1qWdFXxP/Nge+IT9rWVcanfyp+fNpKikRYpWIUBnhtvAs3k xbmbFFS6irots3/3IoopMnMYwCez4Cbtq4u3xe8bxlXH180T6SeUFkj1oPMeve6ZDCF2 diEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=TsFiw0VVOnQIZsCJm8I7eHxf1Qs3dnutxTktdyIVuKY=; b=h3jte1fkqFGL7Ps3nSSoiZSt0FpXUnr0jYcy54Q2VuJ/tgrtGJYSNO8N8v6MXxK8bd cNyv2p9MTJIHtY4pC+9AMVoTBGB1Ws49c/bhwuchWms/czk9vrGSSoFueWSvsil2RR4x n2M+q09ScUM91WBfW0/ByEVg9Gpp6RgvjKsTiKKpShYp7sG/YOCBRauJOfchinna35T7 8DZRpeC8Wx8fpbDHU8YTaZSBHifJ4XIwhXcJ9h8tV+8QXqTSJj7FgKo2UFpJzkyily1C JnUlCVDfrP3yw+ryovK6xMinhdVmbmkY5rFv6RtGEEpd6nFapD2nK2iwvCv89EeGoFOx h8Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mhEsKacK; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=TvCYnsMj; spf=pass (google.com: domain of gcc-patches-return-500780-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500780-patch=linaro.org@gcc.gnu.org" Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id g17si2077566pfb.29.2019.05.15.05.45.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 05:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-500780-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=mhEsKacK; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=TvCYnsMj; spf=pass (google.com: domain of gcc-patches-return-500780-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500780-patch=linaro.org@gcc.gnu.org" DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=Zzw+N+/14tj9xCvpx5SaNZIf1qnX/ 5OmOZ/ZNfZ7so08a7gYD2JwLGGd4Dn42AGt8MX7hB4ZKEEgPub5T1eOgIFy0r33M NviZq1ya4aPmUUkvtTljxB7tqM6kLygo1OIk0lAYTuf18LqlLPO1ghfiLUonzneT YVVCy3b8Q93FbY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-type; s=default; bh=8OIX8AIbmA7c7GyATM/42gjCTjY=; b=mhE sKacK4YaukHpddUCrAcQQARNaaBxI6sazOJHS/B+V8PBxNAWfe9jZhtJjwKdtiYE swqp4iO8VoC8fh8y/ORJou2qX5AM3pkuyhz340qJml/jGb9qIcQC81ypGFoDSl+o S9SgsSo/9Cs4SarKNaUkszyf/hqiI0Qtb799ItCs= Received: (qmail 45595 invoked by alias); 15 May 2019 12:45:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 44397 invoked by uid 89); 15 May 2019 12:45:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy=gdwarf2, gdwarf-2, *-*-solaris2.* X-HELO: mx07-00178001.pphosted.com Received: from mx07-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (62.209.51.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 May 2019 12:45:43 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4FCggZb007108 for ; Wed, 15 May 2019 14:45:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=TsFiw0VVOnQIZsCJm8I7eHxf1Qs3dnutxTktdyIVuKY=; b=TvCYnsMjtphKrTqZu3X7laaJuAaFf+CWsiHdOFAyLMsqi1vChYt0B6xZ6FIX5UY5NjnF q92o3bgq4XqgF8siTHeonGfXkqc2TVUONGuBBxoX76Bw5b66RU834YpBXoYCAxazEyUs eGczQCCEIdMfbZqLTcE3oBsH5I37Nl/9EV+hmJ5j6ovlVhjNa5Fx63XW6+sJQBi1vVb7 nEKKXd9ATyzY8WqcrJ4XE6k8jF5KUzFPBeJVNAG+G4/BcpAhx3o/WLFtTjxrt0g92MMt Pzmu1zYGrgggmTINYwJsuLQ27s1dpqfFIPpXTZD/lpWv8+0LaQQbdLD43mlVFVtHbyPL IQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2sdkv00hch-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 15 May 2019 14:45:39 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CC2AC34 for ; Wed, 15 May 2019 12:45:38 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6FE1324C5 for ; Wed, 15 May 2019 12:45:38 +0000 (GMT) Received: from gnb.st.com (10.75.127.45) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 15 May 2019 14:45:37 +0200 From: Christophe Lyon To: Subject: [ARM/FDPIC v5 16/21] [ARM][testsuite] FDPIC: Skip tests that don't work in PIC mode Date: Wed, 15 May 2019 14:39:41 +0200 Message-ID: <20190515124006.25840-17-christophe.lyon@st.com> In-Reply-To: <20190515124006.25840-1-christophe.lyon@st.com> References: <20190515124006.25840-1-christophe.lyon@st.com> MIME-Version: 1.0 X-IsSubscribed: yes Some tests fail on arm*-*-uclinuxfdpiceabi because it generates PIC code and they don't support it: skip them. They also fail on arm*-linux* when forcing -fPIC. 2019-XX-XX Christophe Lyon gcc/testsuite/ * gcc.target/arm/eliminate.c: Accept only nonpic targets. * g++.dg/other/anon5.C: Likewise. Change-Id: I8efb8d356ce25b020c44a84b07f79a996dca0358 -- 2.6.3 diff --git a/gcc/testsuite/g++.dg/other/anon5.C b/gcc/testsuite/g++.dg/other/anon5.C index ee4601e..dadd92e 100644 --- a/gcc/testsuite/g++.dg/other/anon5.C +++ b/gcc/testsuite/g++.dg/other/anon5.C @@ -1,5 +1,6 @@ // PR c++/34094 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } } +// { dg-require-effective-target nonpic } // { dg-options "-gdwarf-2" } // Ignore additional message on powerpc-ibm-aix // { dg-prune-output "obtain more information" } */ diff --git a/gcc/testsuite/gcc.target/arm/eliminate.c b/gcc/testsuite/gcc.target/arm/eliminate.c index f254dd8..299d4df 100644 --- a/gcc/testsuite/gcc.target/arm/eliminate.c +++ b/gcc/testsuite/gcc.target/arm/eliminate.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { nonpic } } } */ /* { dg-options "-O2" } */ struct X