From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21103 invoked by alias); 14 Jun 2011 17:58:38 -0000 Received: (qmail 21095 invoked by uid 22791); 14 Jun 2011 17:58:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 17:58:21 +0000 Received: (qmail 12457 invoked from network); 14 Jun 2011 17:58:21 -0000 Received: from unknown (HELO ?192.168.1.5?) (janisjo@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jun 2011 17:58:21 -0000 Message-ID: <4DF7A185.1000706@codesourcery.com> Date: Tue, 14 Jun 2011 18:16:00 -0000 From: Janis Johnson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Janis Johnson CC: "gcc-patches@gcc.gnu.org" Subject: Re: [testsuite] ARM tests should ignore warning about conflicting switches References: <4DF79EA3.9060507@codesourcery.com> In-Reply-To: <4DF79EA3.9060507@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-06/txt/msg01094.txt.bz2 On 06/14/2011 10:47 AM, Janis Johnson wrote: > Many tests in gcc.target/arm that specify "-march=" fail compilation > when multilib flags include "-mcpu=" due to warnings about conflicts in > switches, but then go on to pass the remainder of the test. This patch > causes some of those tests to ignore that compiler warning; I'll get to > the rest later. > > Alternate options for tests that specify -march is to skip for multilibs > that include -mcpu, or a new test directive or effective target to skip > a test if the options used generate a warning. > > Tested on arm-none-linux-gnueabi with a variety of multilib flags, > including some with "-mcpu=". OK for trunk and 4.6? > > Janis The ChangeLog entry should include gcc.target/arm for each of these tests.