From patchwork Mon Sep 9 15:44:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 173403 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4539004ilq; Mon, 9 Sep 2019 08:50:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7momXV58LVY/+oQR95njnpvRrRByB6BowsSz0pQBBl6zuZp+jLIhq/dGAVKr2yiqGYcy4 X-Received: by 2002:a05:6402:2028:: with SMTP id ay8mr13699430edb.120.1568044238241; Mon, 09 Sep 2019 08:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568044238; cv=none; d=google.com; s=arc-20160816; b=HA+vbOb1z0Iz5CvtKgzxXeUQFTkFFU0P0/pHbgQqOgyqSD1qEltixUjZlmqNTALEiN +eZeiakJ4SSP+/uBnhHh5622VWBpDkzW+6mAl7vG7F8v8P+cXye6BGaLiY1NP5jztB2g gS8GeQ49kXmJ5SlETJaUOett+GwYtRcJXi6NSRtkMPqg14GEvwEKsCjP18PWKduIEPu2 SMFy+iDw/uwtLCs26I1vSwDgMjRnOZ/Y52n/aYnFbsKYjUyJ8FsaUX/XEyQlhBSkqp76 /VR1oKUUM9pjBV49jwkpp0C0f1DhAj8KBrcd3u0I3xk9Iz6Z8eF/c3A10emKvWQrgUt6 0Jgg== 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=7GwpjKxZv00igImv92Kgj+zStkhT3TdjMEvURQD16pc=; b=pe3a+QeynccMJstZKclrngQJbWH/UEnnnw94Anysu6Y9voTcNHKrM2lbKRqyl/wKyS B0tgnQA43EovLxc2/4nAUSnabgAAsxtw4ctcOC5sfeV+epqmgofJ2m1d1FC8cfGntB4P WVV9alnT5Hz8ggq9x6S0mVfxloZyb/akGLWgx0jBr9knadlO6MkpIllPkc/ekWd9GlUK BcBC4RTRqfzVBuAvv4DcL1fQA5wrWwuDIo2GFmg8rZ5DUQl669UoX/+Kz4A+UKAaKtGM xe+3IamXOio/7ZE3aQu5w9XajtLvyPLapnLKCGYmkJdazeRJqneDIYmuZ4rPeQ/SJ5q8 hxRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=F8B7RomM; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=j7kGJeIt; spf=pass (google.com: domain of gcc-patches-return-508656-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508656-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 i8si9134553ede.332.2019.09.09.08.50.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 08:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-508656-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=F8B7RomM; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=j7kGJeIt; spf=pass (google.com: domain of gcc-patches-return-508656-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508656-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=Iw6 hCH+QU14sCoymEKzsyOKqyVgp6hGQhoOOrrqFgr3XakuqTn1Rn6DOOVx91SWgWMs xZ9uTOeGXWn2L7WaK8e9hbfUtwuOBg14MR+CiRvolNk4SHoHLGmr5lm7RzT8o28V gSg8SbrD9IuXC49zq1r+5cWQvuQEoVspiHpM3iEs= 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=5WqTsisyT lRuMm0Y5YKg/mLKuHo=; b=F8B7RomM6QF+ZZ5M/AebBF/LsTxp0slz4zRr96kKd 1/eg58mw4sGkenWHZMZ52v0ttfqRe7oHj120E46sk4eeXFvGzLgEb+HIHa6F8qt9 gxvq23wAGhVN9uZuIwTLzeWGGlQW4wag56h5ER7c8RQlo/h9oSah7Yj/nzSAUMvW 7g= Received: (qmail 684 invoked by alias); 9 Sep 2019 15:50:25 -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 675 invoked by uid 89); 9 Sep 2019 15:50:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.8 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; Mon, 09 Sep 2019 15:50:22 +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 x89FkKNW001257 for ; Mon, 9 Sep 2019 17:50:19 +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=7GwpjKxZv00igImv92Kgj+zStkhT3TdjMEvURQD16pc=; b=j7kGJeItZ5lXUs++r8GjVOFHaf5j5hsDW1Z5hb7fsp/qCUCKsiUsvrLxWrM/xHY5jq5g dzqdyTxMGu5XNe03gY75ngZw3pMQnMFT4zMLOGKC+NToe9jx5BVZr5VYnVbAk2hBX7X0 MC1uIPqP9L4EMM5RbDCCACSPowu5ENWvERld+/h8/ldo32C1DlY8yosnVOXKlKCsuCb8 DAA1KSC54VOVFkuczeMc9+ED116PWjTKTj4Sqs65/5EI59ARUnkjUE+sQtAFhM650rmq vBTBjg7D/HGnGIe4+aGW65p96k8E9lw/jIE2jfqTp1Pa0jD4p9IKVrFxntJFkNcv26rw 2w== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com with ESMTP id 2uv212ekps-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 09 Sep 2019 17:50:19 +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 2209F22 for ; Mon, 9 Sep 2019 15:50:16 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D66B92B5A07 for ; Mon, 9 Sep 2019 17:50:15 +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:15 +0200 From: Christophe Lyon To: Subject: [ARM/FDPIC v6 14/24] [ARM][testsuite] FDPIC: Skip unsupported tests Date: Mon, 9 Sep 2019 17:44:56 +0200 Message-ID: <20190909154526.11630-15-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 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 98af0d4..52c33d0 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