From patchwork Thu Mar 22 16:31: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: 132307 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1056875ljb; Thu, 22 Mar 2018 09:32:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELu6o26jdRBDu4PKt8zbdD0k+46hn+AEPlMKI87iUsPoOHCHt5bM751ZAAcV0agZpkChXqR4 X-Received: by 10.101.67.13 with SMTP id j13mr3319915pgq.432.1521736330879; Thu, 22 Mar 2018 09:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521736330; cv=none; d=google.com; s=arc-20160816; b=rbFXZN9+tgNPZxIUQ8i41p0lJbTNgWuK/JZyiJQW1PVU5iyMjCxqBBIi800zDQ6gFj n07IbipFdGcVUUa4S35MvkhehJ+oqzPJqjGzRi9Q10v5CZ6A5qARTPPuiPgkS5updqt8 WQXIFqYrWKTgAh5S6J9UijPp4UHxuQ7RmMURNwlb9twaUmDFPdu4aNm6r/7GfCus7GHJ yeue3vAL2q79k+4ImyCghI+x6oZjmBADEvrEtvTGQ60lVjOiy0Gcnwk49LEH/gfBzWg0 9QDWkBNWUngQsNizVGxKyrxur3nDimtr/KGjwQuvV3zfE4M+KdmUafqP9CzrSJCtHevo whAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:delivered-to:sender :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=13zUSoGzfvludf0Juc2wCg3BGSpDxZgPDGHvCRVXS5E=; b=PUJr/1H1q7ADT/G4HOxkJ9SJbaY5IMtWUM38nD0upyBkE9RIlh6RVe91TYQUaC8xqm eIr4tfR3d8dcSZVPkgilQyYa0+hulIaYfcLVdFznL289SjWkqBXq7sSihpdZ+3j3jxav Uf1TdLtDjLOugGeoEphBXhkqLaBcjgt4mKY4m3KPEINZfir/IHoq1OnGcjNwKTC+guUD NH1ypfsx0CDYJr3xinaMylhlJ8u6iAwAmJTVABplGdxBK6Y7RUFlH638Pz4F9uCuSaIj 00C2fetl7Bbi9olxY2XSIeaVFBaQwSrTmveXjPSsvHdyEVn2NBA1dAxsC3BU2eBfcEQD z2lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=F5Bs4L86; spf=pass (google.com: domain of gcc-patches-return-475271-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-475271-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id m16si4679457pgc.754.2018.03.22.09.32.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 09:32:10 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-475271-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=F5Bs4L86; spf=pass (google.com: domain of gcc-patches-return-475271-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-475271-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=gF/Irnp00Ke6kGN07mHsT/pzSci/99SHFhsaSw37XCABNP ry1dOLvcedwO3p7zqs3M5ZlEORtCpC10anflpexROJ4BYSmZ7phuhz0aQStuw+kz Sn01ZtYoK9YBTZ5swIKODV8nyvUjVcs75PV9fMeGd7if0E7rmll3WDc0twB7w= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=PJmEfmhPa3GAbHD53M7VY1U+o3E=; b=F5Bs4L86VFlH052vVomv SGQ+8FQba61cfkgRyvC3rIYwNvIXFfnrPF/jzN/ExyIFRIWT1GXW0hn2MXbCGddN Ezx6dx6sEY/eT8C0Sbp5LxYc/bvEBiUL5s64QN3QbeCXtapDuTxq2kkxZB91jIl3 HY15TQNuz3drXzPy2R82H+0= Received: (qmail 16648 invoked by alias); 22 Mar 2018 16:31:59 -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 16614 invoked by uid 89); 22 Mar 2018 16:31:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2170 X-HELO: mail-ua0-f173.google.com Received: from mail-ua0-f173.google.com (HELO mail-ua0-f173.google.com) (209.85.217.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Mar 2018 16:31:57 +0000 Received: by mail-ua0-f173.google.com with SMTP id m47so5949955uae.6 for ; Thu, 22 Mar 2018 09:31:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=m8xjUSnqEhrW7VJotHWpiAyryGwVNYxulvu/T9BA/pQ=; b=XbwmN6gpAIP2m9n6unXmDyWHlJ3axxp5jv0BoJZjBaQLi2ADrcwBF6Zk/O4sUleNmK CPCTOMOlzpGAG609FlR/N1IQKp2erBY4q7vUX73bTj17O9z6SUZHpiA9S3fcYrBbTZKS Yus43b/LuzBYExHQ+HF2S/tdqTPlpCsC/LTC2wOh4oUvyOdyBoi07iMomd1gUulNb759 +MOp/320qayIqonIZZ8STykQwSqeHWGK68Xio1bj2U/CP1rX8zuTUZiSuIxFlE5SvJ+/ JxHYJNUeek81G35X32XwkxZT/mDQ1QOG4zEuKs+PTBQzovViSuDc/u5a0j6XCftGh0eE 4uqg== X-Gm-Message-State: AElRT7HfxVJYGlDeoxwKvzFXgk/D+B/PaZHhnuxpoSkxcVXzzRfeq8Zt Sk5pStNpRqTbN1O08UXjtYBzc/mtb6p6bHxRpWl4Vw8W X-Received: by 10.176.75.163 with SMTP id v35mr16836754uaf.143.1521736315353; Thu, 22 Mar 2018 09:31:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.103.7 with HTTP; Thu, 22 Mar 2018 09:31:54 -0700 (PDT) From: Christophe Lyon Date: Thu, 22 Mar 2018 17:31:54 +0100 Message-ID: Subject: [testsuite] Fix order of dg-do and dg-require-effective-target directives To: gcc Patches X-IsSubscribed: yes Hi, I've noticed 3 tests where dg-do appears after dg-require-effective-target. This small patch fixes that. OK for stage4? Thanks, Christophe commit 068c140ced3946c477a92b145ced33c0c045b4db Author: Christophe Lyon Date: Thu Mar 22 16:04:39 2018 +0000 [testsuite] Make sure dg-do is before dg-require-effective-target. 2018-03-22 Christophe Lyon * gcc.target/arm/addr-modes-float.c: Move dg-do before dg-require-effective-target. * gcc.target/arm/addr-modes-int.c: Likewise. * gcc.target/nios2/lo-addr-tls.c: Likewise. Change-Id: Ie2e7eea647fddbf15c4c7adec24e3e561dca42da diff --git a/gcc/testsuite/gcc.target/arm/addr-modes-float.c b/gcc/testsuite/gcc.target/arm/addr-modes-float.c index 5ffbcb1..4527dd3 100644 --- a/gcc/testsuite/gcc.target/arm/addr-modes-float.c +++ b/gcc/testsuite/gcc.target/arm/addr-modes-float.c @@ -1,7 +1,7 @@ +/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-add-options arm_neon } */ -/* { dg-do compile } */ #include diff --git a/gcc/testsuite/gcc.target/arm/addr-modes-int.c b/gcc/testsuite/gcc.target/arm/addr-modes-int.c index 90b7425..faedca0 100644 --- a/gcc/testsuite/gcc.target/arm/addr-modes-int.c +++ b/gcc/testsuite/gcc.target/arm/addr-modes-int.c @@ -1,7 +1,7 @@ +/* { dg-do compile } */ /* { dg-options "-O2 -march=armv7-a" } */ -/* { dg-add-options arm_neon } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-do compile } */ +/* { dg-add-options arm_neon } */ #include "addr-modes.h" diff --git a/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c b/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c index d56fbc2..53060a1 100644 --- a/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c +++ b/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target tls } */ /* { dg-do compile } */ +/* { dg-require-effective-target tls } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-not "ldw\tr., %lo" } } */ /* { dg-final { scan-assembler-not "stw\tr., %lo" } } */