From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39925 invoked by alias); 13 Jun 2017 17:29:38 -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 39206 invoked by uid 89); 13 Jun 2017 17:29:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1084 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 17:29:36 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7E51A1596; Tue, 13 Jun 2017 10:29:39 -0700 (PDT) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B96E3F3E1; Tue, 13 Jun 2017 10:29:38 -0700 (PDT) Subject: Re: [PATCH 32/30][arm][testsuite] Fix neon-thumb2-move.c test To: gcc-patches@gcc.gnu.org References: From: "Richard Earnshaw (lists)" Message-ID: <6fe51cd3-dd38-d09a-d053-db02e1d7bad2@arm.com> Date: Tue, 13 Jun 2017 17:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------957C2E6F52B7E3FE0DC5E428" X-SW-Source: 2017-06/txt/msg00973.txt.bz2 This is a multi-part message in MIME format. --------------957C2E6F52B7E3FE0DC5E428 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 460 This test was overriding the options that had been detected as being necessary to enable Neon. The result was that the combination of the test's options and those auto-detected were not compatible with neon leading to a test failure. The correct fix here is to stick with the options that dg-add-options arm_neon has worked out. * gcc.target/arm/neon-thumb2-move.c (dg-options): Don't override the architecture options added by dg-add-options arm_neon. --------------957C2E6F52B7E3FE0DC5E428 Content-Type: text/x-patch; name="p7.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="p7.patch" Content-length: 572 diff --git a/gcc/testsuite/gcc.target/arm/neon-thumb2-move.c b/gcc/testsuite/gcc.target/arm/neon-thumb2-move.c index 9cf86dd..d8c6748 100644 --- a/gcc/testsuite/gcc.target/arm/neon-thumb2-move.c +++ b/gcc/testsuite/gcc.target/arm/neon-thumb2-move.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-options "-O2 -mthumb -march=armv7-a" } */ +/* { dg-options "-O2 -mthumb" } */ /* { dg-add-options arm_neon } */ /* { dg-prune-output "switch .* conflicts with" } */ --------------957C2E6F52B7E3FE0DC5E428--