From patchwork Thu Oct 11 13:34:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 148641 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2142318lji; Thu, 11 Oct 2018 06:41:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61JfaFh6bN6zDKLt7hu30ngjROVTGbc4cFLkCWYABVgdXDw2NKYsy/HIIyzzDfzDipbXlXZ X-Received: by 2002:a63:790e:: with SMTP id u14-v6mr1500241pgc.111.1539265292879; Thu, 11 Oct 2018 06:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539265292; cv=none; d=google.com; s=arc-20160816; b=oDwbZZR88XYyn8fYBEzmQJw7fIcCu13cllh86kAP2QN2Pnf4uGmEFo8CKxyZBt/bjJ HkETRn7Rofa+MiSEWlMXfG6ooYL73y/JapExhhzCoIqvuhFPoq13qHRYr9hp2lreznAB k/d1m//koEj0o0EgVwQrZt+Eblfg+DaNnJAVxYSOXrMm5eUdtN9MYYZxLi2+EobpLRKI Y63vXAHutc73Z0B4TK9kRMwY9BFRMI2e1qLa+qrj8+4M21Qx5UXrdLW1xF8H1w7xafR4 LcO8zzPUKdd94J5XBu6HAyMjpKxXrcP3lrzsVS2r0kFKuysmPI48onotCjiFLsDx83Yh 7bRg== 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:cc:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=sNOThwMyfazvN16cNXz1UAv0yECorcIRkHNVigkZnhg=; b=FkxfvO3sNMvJzZ/VDSepZApyXa6jeuKSzr9gFsSqR7ga7fffPpr2r/F16A0JR41rH/ ur9Uq49E7pH1u9nvSW9ujS0zxw1Pxv1dfFaZ2xh3+LSo+XNE87dTbXRPFD3pPmWKLF4U NN5RjNDA/6iI9te5McyxyOlL/s9QQEdBaK0UxMAi/4KkK73gfCjGBKFymoqCzNAIx+Up hObYo/iVfYVg2dUk6YwtogYDjd6ghQ75eIfgX4gDbsdFEIhdY39euoJGMvGxhVRdNIAm 1nZmGJDe0xVwDG8+4kJTjmnwTgz2/330i0jrYY3H660/zDcHsZovUpwB5fwBhalgObxQ CxPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=csnaPqqW; spf=pass (google.com: domain of gcc-patches-return-487348-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-487348-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 k5-v6si23684603pgq.413.2018.10.11.06.41.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 06:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-487348-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=csnaPqqW; spf=pass (google.com: domain of gcc-patches-return-487348-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-487348-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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=IMVuIVyN205XamhB sz01oNG2ZWUJ1IQnc3Y1r8qDA37e5ow55HupMDlLEQwbQmWIpm1UttJ75ixB7A7W HC0Po7JnTCpmGluHVnHbLxLPmmGN0FlvHEi/HPkeYyeyXnZWggSjSDEmCwuYh4B7 HKlC7yfmdgzUN0U7R9yGEPSJ+cc= 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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=2WQuaKp5EK5CXw+/wvj5/J QeMcQ=; b=csnaPqqWXFSMfHU+lWcd/BVJ1cIejhse+3uDTjed0NAtXi95MVw5EB 0ooryX+o59DbgWxK1tC1edX5vMZPFzFBVJYfxenq6Nb+WVqgLh7fTKSjTRbriCT3 iwPUwCOXIlwPLpYE7HQZTJlimYfWnu7TGtihGVpCe0UjQJgMDHoHc= Received: (qmail 77008 invoked by alias); 11 Oct 2018 13:41:20 -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 76653 invoked by uid 89); 11 Oct 2018 13:41:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=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.2 spammy=gdwarf2, gdwarf-2 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; Thu, 11 Oct 2018 13:41:18 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w9BDdK7a016088; Thu, 11 Oct 2018 15:41:16 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2mxjgy5mgv-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 11 Oct 2018 15:41:16 +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 F3E6331; Thu, 11 Oct 2018 13:41:15 +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 DFB3D5553; Thu, 11 Oct 2018 13:41:15 +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; Thu, 11 Oct 2018 15:41:15 +0200 From: Christophe Lyon To: CC: Subject: [ARM/FDPIC v3 17/21] [ARM][testsuite] FDPIC: Skip tests that don't work in PIC mode Date: Thu, 11 Oct 2018 15:34:54 +0200 Message-ID: <20181011133518.17258-18-christophe.lyon@st.com> In-Reply-To: <20181011133518.17258-1-christophe.lyon@st.com> References: <20181011133518.17258-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. 2018-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