From patchwork Mon Sep 9 15:44:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 173405 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4539751ilq; Mon, 9 Sep 2019 08:51:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvfBSI/Trai8xqhj+FfIFvUflUhxsBWKK5yFheihZSrc3Qnp5fYxVNMSho4cXEWpm4sDWl X-Received: by 2002:a05:6402:1426:: with SMTP id c6mr8728737edx.53.1568044276647; Mon, 09 Sep 2019 08:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568044276; cv=none; d=google.com; s=arc-20160816; b=raqNYtQkjvhPxCrRbcnDUIcGDlrIATph6S7PYkUxAlxLHg+xciXWzXv+j46evhMUuq 9GGoEtqnNF5d5lw3U7pTwLjabhLa5pRP3ruvpOychb1fWOoSg6FDKIRK9zAn6O2NBKv/ 1GohpDWicL4eeIyZnSRID0RZxeYOnanVdIqASamCm+hbqnBITtdPBt4OFw8qFZTaLCmu GbBPC+07xm9Wu+OCyrHxvEtnYvZstpcV0gmBb4iTAzvOH/bZ/QDdnnOZP3/dIdDI/SA2 1i3rku4EnMUaAufrNGq2vLblD3cEPQ2MFBf8Pfr2svYw+tLpeKpD0oteasUyhiO7tzKu IDdA== 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=4hWG6cwfwKnhzInk8p4B7njAiaMGipAcBR172XOEFgM=; b=iw16lAg8BTztE7TZkOBcml/QsuicEIWAxx5sXB9wsLBYtSiUm/pBlO/c13I4CSG/Sw tq1Q3YTkLAE28YTSasjQf2l8D0WtQBCdo05e4HqhNIzr6xSm2Mlqah+qSnyrvwcIoUPH FsHK2hnqB1ZWuHxiho35cWJjBcbM9pRpc9sJdMsh2N0Hw56gwPpmdUDKHGhHIk6HCqsG 0yDkwjRqdcaB8GzUhhiPOy8hs+rNmPX4grAsPwNUSOeLMVCfPSih4lHZl+4vb6E5bzxC MThCx3SgveGBfLJ0RlH1PADNuOEyVAcpSFXCm4M6WX2J/NpIMKwBlYTT8DoMHprurMM6 Jiow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=hbCFkrlB; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xqy2Ag6r; spf=pass (google.com: domain of gcc-patches-return-508658-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508658-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 f17si10497691eda.232.2019.09.09.08.51.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 08:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-508658-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=hbCFkrlB; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xqy2Ag6r; spf=pass (google.com: domain of gcc-patches-return-508658-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508658-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=wYxuwUc+oQt7lKUElypuuE486Zv0G JV69QSLat5sKb6BlfdW7PAQdJvkYqpr++7jWcXY9uIFNJtgCD8Dw4RlWhg9OqOqx RyVKZmpAOUs/99ha4RglPBovwpshvVZshwckomXo0e0O3NJYzbn08S7yMDNEaBk7 DrUvjwc+5RwATQ= 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=WgkWMKvAux4f2O9HtffyjobDoXs=; b=hbC FkrlBfJ++ZAeUrrKuyT+RyWZCMPxmJUwT9NcPTz1wm4145/jRasvJW7PRC8QAlig NUH5PdSyJc7Mi4NmKC3+7gHUOIitDOyKvoxl3qY8tX0XHN1doc607Y6aSNJKr8bt G97UPhSg/lsKxa2z7VPpK+aGSCQ5vlxl0g0Kx5O0= Received: (qmail 4054 invoked by alias); 9 Sep 2019 15:51:04 -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 4045 invoked by uid 89); 9 Sep 2019 15:51:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 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=*-*-darwin*, **darwin*, 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; Mon, 09 Sep 2019 15:51:02 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x89FkMPt001274 for ; Mon, 9 Sep 2019 17:50:59 +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=4hWG6cwfwKnhzInk8p4B7njAiaMGipAcBR172XOEFgM=; b=xqy2Ag6r6Rnr7gM+cd4OAy0Em1B1ZYso+XrDX3CDgx5TrKj9g6Vs+LoqKKI58qwff0lx vTqv3FbiWuSJYYBwE9s0jIQHMiUt0jaUmfAZVfmQCdDp0b+l+nmePzpcrSSColP0df90 2eaDNtw3hyPDz7u1XKj7liVY5AabBtD647XHxq2MZfrbHPNknG2v/J54PnlBD1cj7q0Y RnHmXlJ+VhxEWuHRlOH/z95w6fWHov2CQYUmFFxWvZinx2NOt4yW3AYP8YujN8nBpGcF /hRbs92vFycKZ0PsNmJA36b11YvYfg3DUIs+2jiHmwu+ZFuliuSURKU/MsM4JyK/bh/c CQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com with ESMTP id 2uv212eksu-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 09 Sep 2019 17:50:59 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id DEC644B for ; Mon, 9 Sep 2019 15:50:56 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4B6C52ADEEE for ; Mon, 9 Sep 2019 17:50:56 +0200 (CEST) Received: from gnb.st.com (10.75.127.46) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 17:50:55 +0200 From: Christophe Lyon To: Subject: [ARM/FDPIC v6 16/24] [ARM][testsuite] FDPIC: Skip tests that don't work in PIC mode Date: Mon, 9 Sep 2019 17:44:58 +0200 Message-ID: <20190909154526.11630-17-christophe.lyon@st.com> In-Reply-To: <20190909154526.11630-1-christophe.lyon@st.com> References: <20190909154526.11630-1-christophe.lyon@st.com> MIME-Version: 1.0 X-IsSubscribed: yes From: Christophe Lyon 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