From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29469 invoked by alias); 7 Jun 2011 21:08:11 -0000 Received: (qmail 29459 invoked by uid 22791); 7 Jun 2011 21:08:10 -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, 07 Jun 2011 21:07:57 +0000 Received: (qmail 6894 invoked from network); 7 Jun 2011 21:07:55 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Jun 2011 21:07:55 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1QU3VB-0001Mb-MK; Tue, 07 Jun 2011 21:07:53 +0000 Date: Tue, 07 Jun 2011 21:20:00 -0000 From: "Joseph S. Myers" To: Janis Johnson cc: gcc-patches@gcc.gnu.org Subject: Re: [testsuite] skip ARM tests with conflicting options In-Reply-To: <4DEE8FE7.50001@codesourcery.com> Message-ID: References: <4DEE8FE7.50001@codesourcery.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/msg00582.txt.bz2 On Tue, 7 Jun 2011, Janis Johnson wrote: > Several tests in gcc.target/arm use dg-options with -mcpu=xxxx, which > causes compiler warnings or errors when the multilib flags include > -march=yyyy. This patch causes those tests to be skipped. It also > prevents gcc.target/arm/20090811-1.c from running with multilibs that > would override -mcpu or -mfloat-abi options specified for the test. I think you should allow compatible -march options - for example, if dg-options has -mcpu=cortex-a8, allow -march=armv7-a but disallow all other -march options. -- Joseph S. Myers joseph@codesourcery.com