From patchwork Fri May 31 11:01:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 247922 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 6271E2C0092 for ; Fri, 31 May 2013 21:09:35 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=jtvJp4iNvHZbO53jlaTvv2GTTgHaDNkwdFsxrkbLhE+od4 fDxaAl9Z2nTIciH8s6I5xGUJUdMaFK3/MBrX8iWjYJkwnMfpNBIVQ9V/4zN/vpRB b1E0PXWBz5A2xhw+ed1VEBX0Ctwn1btFoguDOneHHf/ADof73qDQSiyDQR1C0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=C6SudzLyDLOvBgTArAfBbn61zhw=; b=C3gNNNrBTYGdxV5byv9+ j6FzXEStCyNB2hTtJuqjPZjLCDfr/xc039d7IekjFGKgutkCTZhpycx3O/1iBFZc ig/ec9pGUjd/Rnvi1z8KQI9/J4WvOThZaPMji9t8fTE4hVUZiJ+bFPw6/xWiLsyz 2kfe97S5iy1ftHC5mPYxLNk= Received: (qmail 14963 invoked by alias); 31 May 2013 11:03:01 -0000 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 Received: (qmail 8354 invoked by uid 89); 31 May 2013 11:01:51 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 11:01:50 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 31 May 2013 12:01:46 +0100 Received: from [10.1.207.36] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 31 May 2013 12:01:45 +0100 Message-ID: <51A88319.9060203@arm.com> Date: Fri, 31 May 2013 12:01:45 +0100 From: Marcus Shawcroft User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [PATCH] Fix failing pr56184.C X-MC-Unique: 113053112014608201 X-Virus-Found: No Since http://gcc.gnu.org/ml/gcc-patches/2013-05/msg01475.html introduced a warning for bit field types with width greater than the contained enum width pr56184.C has failed for arm*-*-* due to the extra diagnostic emitted. This patch disables short-enums in the test case. OK? /M 2013-05-31 Marcus Shawcroft * gcc.target/arm/pr56184.C: Add -fno-short-enums. diff --git a/gcc/testsuite/gcc.target/arm/pr56184.C b/gcc/testsuite/gcc.target/arm/pr56184.C index db92db1..d44c1b4 100644 --- a/gcc/testsuite/gcc.target/arm/pr56184.C +++ b/gcc/testsuite/gcc.target/arm/pr56184.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors" } */ +/* { dg-options "-fno-short-enums -O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors" } */ typedef unsigned int size_t; __extension__ typedef int __intptr_t;