From patchwork Wed May 15 12:39:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 164289 Delivered-To: patch@linaro.org Received: by 2002:ac9:2a84:0:0:0:0:0 with SMTP id p4csp606328oca; Wed, 15 May 2019 05:45:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5UlB/BCl82cQM3x6MBgTZabBYs55PxspNnUKkU+jKXnDtFAHcMZr/G8fJ257Q4PtvxA3w X-Received: by 2002:a63:d408:: with SMTP id a8mr43331960pgh.184.1557924318759; Wed, 15 May 2019 05:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557924318; cv=none; d=google.com; s=arc-20160816; b=Ak6U8YpAjQaniFY2+aYC3XovO8uTn08Qm+jfsSir4UZldM8U92iwJUj8+nVXfG7gaX Eh5Cjv9EUWOob+T7G2ke5/ksLswkLTZnlf11qRN7CvbdOhAZUTWtmeC3s0fktked1E9P 885275b+9XTaaWYVc9TKnYzADyTDg4ucDq8k6Vt0DZJRNVjI4/sZZanBXI4mDTH+aNYp FIgupH42heS5t1VYAYye9tIYwKBX/aAd09RM3JuIy64RgTvgcU9bqVmgy+90mfdYcvCA 2FOrVvG5ofImDW3IgV6Mej4nHheEACNO305kdeWsHdcaMYZ/HHFIHHTX5MjrY3fzadvA pMLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding: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=Sc4Lrh6FgSywCe8yJCDv86OekHAZ/99PmPitmfiYFDY=; b=AVBR/zNoeAQWhZj7x91yOybQBiZhbNIptQfNC805eB/OKs8n7ASJP4hy3mGxMcxfHl Y7EjKOCZb7ODLraUu5r5E8VS9RzXwzYW/hXMICo2JKdwLvc6c94+zFc5kpusjkckz6Fp Dmn6qmYXAqYPtQhUd2YN7OtmoFMp+RkoqNwfQCv6UiHxTfEOywcRG1S32PATcL9xvqO9 GzbvFwdVX21INfpvnNElKPM9mRyEdnodeFBZe+u142Dtk5nrvAMXJHbx0cYHOrLN7z1C 9KQpHOfkbZhnI4uz6lNJxKpYXkCHR5lVEzTHIuj+LCQhuYmdBAdp8Ge7n7eyxCY7iQb1 EPEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=IgAtDY6R; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=JQVy6Xk3; spf=pass (google.com: domain of gcc-patches-return-500778-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500778-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 k1si1744465pgq.219.2019.05.15.05.45.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 05:45:18 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-500778-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=IgAtDY6R; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=JQVy6Xk3; spf=pass (google.com: domain of gcc-patches-return-500778-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-500778-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:content-transfer-encoding; q=dns; s=default; b=ANC IZFl6VOfL+XS7lqnHTlLa8YM/Uf7divGMwej24aexyIehMpF+mjwPmiYCpZLcAPL 37iJ8GgxONMX67uq/T2cMOcEH7goDkxgUTMHgZokYp1nKfsldH6WuONX7/kGxb9l i4JjfOqQC03DS2JbHmfBoyXZ9YrRVvwn09TrZeWE= 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:content-transfer-encoding; s=default; bh=si5JxHkV4 IjFOqaqU0axtIfrdKA=; b=IgAtDY6Rzl8TWcnCgkDt9Ovx7L1VgIIyN9ADX+PW0 d6TtiJ37zHvvRZ9q5Z+svcWng2tNarAKw5bboh81AvD9F1Gix7DIHjC+ZS9YKvhK YxgI12ZN9GHOjB6idjUxNAvioh8OIrd6eU8JjprtO5j0smKeCVWkipfJArOkY/L1 1w= Received: (qmail 126100 invoked by alias); 15 May 2019 12:45: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 123637 invoked by uid 89); 15 May 2019 12:45:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.3 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= 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:01 +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 x4FCgjDx007236 for ; Wed, 15 May 2019 14:44:58 +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 : content-transfer-encoding; s=STMicroelectronics; bh=Sc4Lrh6FgSywCe8yJCDv86OekHAZ/99PmPitmfiYFDY=; b=JQVy6Xk3SZ542ss62oRlR3txzKsgrQWygnswfUjHF/5ZlpVYIh56csWb58lLriBVzAt6 WIiKaUcXInKTtJSOjoso936KZ7NAF1VSOcSmKvRZC3AEk+/ZEMlbofLlDDokWiYgwdpB PnxUCjS0YdYYXyXHOaaPpFcpLi8IQUuKlbpx2ihh9R3UMReorqS3XShKeqD3l4XTV78r IiCtzpcO+Bu7leDxUn+ohL2akbrP1VzIwSBeSoUBg2yM+RytG2CNpBjabY6Nujl8/jjT fDngy18YQm4TbNj5nfV9ZKDV2aWdGAc4JsWZ4tB9IONv2d7FDLBtEHKbYVLIzc1ijnBW Og== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2sdkv00h8e-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 15 May 2019 14:44:58 +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 30F2434 for ; Wed, 15 May 2019 12:44:58 +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 110BD2761 for ; Wed, 15 May 2019 12:44:58 +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:44:57 +0200 From: Christophe Lyon To: Subject: [ARM/FDPIC v5 14/21] [ARM][testsuite] FDPIC: Skip unsupported tests Date: Wed, 15 May 2019 14:39:39 +0200 Message-ID: <20190515124006.25840-15-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 Several tests cannot work on ARM-FDPIC for various reasons: skip them, or skip some directives. gcc.dg/20020312-2.c: Skip since it forces -fno-pic. gcc.target/arm/: * Skip since r9 is clobbered by assembly code: 20051215-1.c mmx-1.c pr61948.c pr77933-1.c pr77933-2.c * Skip since the test forces armv5te which is not supported by FDPIC: pr40887.c pr19599.c * Skip since FDPIC disables sibcall to external functions: sibcall-1.c tail-long-call vfp-longcall-apcs * Skip size check since it's different for FDPIC: ivopts-2.c ivopts-3.c ivopts-4.c ivopts-5.c pr43597.c pr43920-2.c * Disable assembler scanning invalid for FDPIC: pr45701-1.c pr45701-2.c stack-red-zone.c * gnu2 TLS dialect is not supported by FDPIC: tlscall.c * Test relies on symbols not generated in FDPIC: data-rel-2.c data-rel-3.c 2019-XX-XX Christophe Lyon Mickaël Guêné gcc/testsuite/ * gcc.dg/20020312-2.c: Skip on arm*-*-uclinuxfdpiceabi. * gcc.target/arm/20051215-1.c: Likewise. * gcc.target/arm/mmx-1.c: Likewise. * gcc.target/arm/pr19599.c: Likewise. * gcc.target/arm/pr40887.c: Likewise. * gcc.target/arm/pr61948.c: Likewise. * gcc.target/arm/pr77933-1.c: Likewise. * gcc.target/arm/pr77933-2.c: Likewise. * gcc.target/arm/sibcall-1.c: Likewise. * gcc.target/arm/data-rel-2.c: Likewise. * gcc.target/arm/data-rel-3.c: Likewise. * gcc.target/arm/tail-long-call: Likewise. * gcc.target/arm/tlscall.c: Likewise. * gcc.target/arm/vfp-longcall-apcs: Likewise. * gcc.target/arm/ivopts-2.c: Skip object-size test on arm*-*-uclinuxfdpiceabi. * gcc.target/arm/ivopts-3.c: Likewise. * gcc.target/arm/ivopts-4.c: Likewise. * gcc.target/arm/ivopts-5.c: Likewise. * gcc.target/arm/pr43597.c: Likewise. * gcc.target/arm/pr43920-2.c: Likewise. * gcc.target/arm/pr45701-1.c: Skip scan-assembler on arm*-*-uclinuxfdpiceabi. * gcc.target/arm/pr45701-2.c: Likewise. * gcc.target/arm/stack-red-zone.c: Likewise. Change-Id: Icada7ce52537901fdac10403e7997571b7e2c509 -- 2.6.3 diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c index c584d35..3df99d9 100644 --- a/gcc/testsuite/gcc.dg/20020312-2.c +++ b/gcc/testsuite/gcc.dg/20020312-2.c @@ -9,6 +9,7 @@ /* { dg-options "-O -fno-pic" } */ /* { dg-additional-options "-no-pie" { target pie_enabled } } */ /* { dg-require-effective-target nonlocal_goto } */ +/* { dg-skip-if "" { arm*-*-uclinuxfdpiceabi } "*" "" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/arm/20051215-1.c b/gcc/testsuite/gcc.target/arm/20051215-1.c index 0519dc7..cc07693 100644 --- a/gcc/testsuite/gcc.target/arm/20051215-1.c +++ b/gcc/testsuite/gcc.target/arm/20051215-1.c @@ -3,6 +3,7 @@ the call would need an output reload. */ /* { dg-do run } */ /* { dg-options "-O2 -fno-omit-frame-pointer" } */ +/* { dg-skip-if "r9 is reserved in FDPIC" { arm*-*-uclinuxfdpiceabi } "*" "" } */ extern void abort (void); typedef void (*callback) (void); diff --git a/gcc/testsuite/gcc.target/arm/data-rel-2.c b/gcc/testsuite/gcc.target/arm/data-rel-2.c index 6ba47d6..7d37a8c 100644 --- a/gcc/testsuite/gcc.target/arm/data-rel-2.c +++ b/gcc/testsuite/gcc.target/arm/data-rel-2.c @@ -1,3 +1,4 @@ +/* { dg-skip-if "Not supported in FDPIC" { arm*-*-uclinuxfdpiceabi } "*" "" } */ /* { dg-options "-fPIC -mno-pic-data-is-text-relative -mno-single-pic-base" } */ /* { dg-final { scan-assembler-not "j-\\(.LPIC" } } */ /* { dg-final { scan-assembler "_GLOBAL_OFFSET_TABLE_-\\(.LPIC" } } */ diff --git a/gcc/testsuite/gcc.target/arm/data-rel-3.c b/gcc/testsuite/gcc.target/arm/data-rel-3.c index 2ce1e66..534c6c4 100644 --- a/gcc/testsuite/gcc.target/arm/data-rel-3.c +++ b/gcc/testsuite/gcc.target/arm/data-rel-3.c @@ -1,3 +1,4 @@ +/* { dg-skip-if "Not supported in FDPIC" { arm*-*-uclinuxfdpiceabi } "*" "" } */ /* { dg-options "-fPIC -mpic-data-is-text-relative" } */ /* { dg-final { scan-assembler "j-\\(.LPIC" } } */ /* { dg-final { scan-assembler-not "_GLOBAL_OFFSET_TABLE_-\\(.LPIC" } } */ diff --git a/gcc/testsuite/gcc.target/arm/ivopts-2.c b/gcc/testsuite/gcc.target/arm/ivopts-2.c index afe91aa..f1d5edb 100644 --- a/gcc/testsuite/gcc.target/arm/ivopts-2.c +++ b/gcc/testsuite/gcc.target/arm/ivopts-2.c @@ -14,4 +14,4 @@ tr4 (short array[], int n) /* { dg-final { scan-tree-dump-times "PHI