From patchwork Wed Sep 26 23:58:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janis Johnson X-Patchwork-Id: 187244 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7C6D32C0078 for ; Thu, 27 Sep 2012 09:59:12 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1349308754; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version: To:CC:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=CWzzmfN0kAzTCjDHHdXKh2YS5fg=; b=XVnUlWRB2B/jYbF vQMebeLY1tImSEAfJzVviVos5SCQ/6sW/ImbjFBu4FrqA7saKdT2YvossRCBhc6l UwZVyU8uWd5QL/ZHQf4YWjDbzXCeqIqRy51+wp+rWhzHt62On2ZjqP7AJcbJc0zm toZaGcthpRU7SisLVib6qOmhoxZo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=hNwww0sFRS8e2Keffw6uOA0XiFTQRpJq6KRTkPHCMNqSwBhKzsDyAuns+pAs9i jy59qscc7buHvN6GBqR5F4GdN1JwRRW3+qI1S/+CeAjgaxW635Y42v93LoE6rwL1 9cR/CFFv6NY7883VEoefGKprQa8W8pCVfgnDGnSRFnLtw=; Received: (qmail 7729 invoked by alias); 26 Sep 2012 23:59:08 -0000 Received: (qmail 7705 invoked by uid 22791); 26 Sep 2012 23:59:08 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 23:58:54 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TH1VF-0000Lg-4A from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Wed, 26 Sep 2012 16:58:53 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 26 Sep 2012 16:58:53 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 26 Sep 2012 16:58:52 -0700 Message-ID: <506396A5.4030607@mentor.com> Date: Wed, 26 Sep 2012 16:58:29 -0700 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Chung-Lin Tang Subject: [testsuite] gcc.target/arm/unsigned-extend-1.c: omit -march option 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 Test gcc.target/arm/unsigned-extend-1.c specifies option -march=armv6, which causes compile failures when that option conflicts with other test flags, such as for multilibs. It can also be overridden by other test flags. The test is scanning that instruction "uxtb" is not issued. Leaving off the option won't hurt when the effective target doesn't support the instruction, and will allow the test to be tried with other newer processors as well. OK for trunk? Janis 2012-09-26 Janis Johnson * gcc.target/arm/unsigned-extend-1.c: Omit -march option. Index: gcc.target/arm/unsigned-extend-1.c =================================================================== --- gcc.target/arm/unsigned-extend-1.c (revision 191765) +++ gcc.target/arm/unsigned-extend-1.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=armv6" } */ +/* { dg-options "-O2" } */ unsigned char foo (unsigned char c) {