From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30839 invoked by alias); 26 Jun 2015 08:45:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30821 invoked by uid 89); 26 Jun 2015 08:45:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 Jun 2015 08:45:29 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-31-aMJpjEVBQaWdvq-u2rj6PA-1 Received: from SHAWIN202 ([10.1.2.79]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Jun 2015 09:45:25 +0100 From: "Thomas Preud'homme" To: , "Ramana Radhakrishnan" , "Richard Earnshaw" , "Kyrylo Tkachov" Subject: [PATCH, ARM] Restrict pr65647 testcase to ARMv6-M effective target Date: Fri, 26 Jun 2015 08:47:00 -0000 Message-ID: <003001d0afec$6de65a60$49b30f20$@arm.com> MIME-Version: 1.0 X-MC-Unique: aMJpjEVBQaWdvq-u2rj6PA-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg01902.txt.bz2 Hi, Testcase for PR65647 assumes that the compiler can compile for ARMv6-M which might not be the case if passing some extra options via RUNTESTFLAGS (eg. -marm/-mcpu=3Dcortex-a9). This patch restricts the testcase to ARMv6-M effective targets. Testsuite ChangeLog entry is as follows: 2015-06-25 Thomas Preud'homme * gcc.target/arm/pr65647.c: Restrict to ARMv6-M effective targets. diff --git a/gcc/testsuite/gcc.target/arm/pr65647.c b/gcc/testsuite/gcc.tar= get/arm/pr65647.c index d3b44b2..d828d23 100644 --- a/gcc/testsuite/gcc.target/arm/pr65647.c +++ b/gcc/testsuite/gcc.target/arm/pr65647.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v6m_ok } */ /* { dg-options "-march=3Darmv6-m -mthumb -O3 -w -mfloat-abi=3Dsoft" } */ =20 a, b, c, e, g =3D &e, h, i =3D 7, l =3D 1, m, n, o, q =3D &m, r, s =3D &r,= u, w =3D 9, x, Patch was tested by running the testcase once with -mcpu=3Dcortex-a9 (skipped as expected) and once with -mcpu=3Dcortex-m0 (passes). Is this ok for trunk? Best regards, Thomas