From patchwork Fri May 31 11:02:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 247924 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 DA7C52C00AB for ; Fri, 31 May 2013 21:10:06 +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=DSULdWyubUBqNnazJGJuJHvc079YmLSaFjMGBw4Ibkf9gl Q/JV1oRV5BMrzqE+YEudPvzKcHfRRwuJQM63OFJ2LQlqccMCcHWTSrYP5TTS9dzT xWj70EQEhyg4iNIuU+xS8MHRZIvqwiYdF3HgQuClfz5kxN6LqpWYy1zm88Ncw= 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=+eO9EuBglVKWuYiF8tLXns8ulCk=; b=qSlqHvCh9ySelycxLeQk E8R0SnzkfTdimFuIVmjYljMivxJObLunw89gfiFzZ8+IFDjmFn4qVaqp59b8uKx7 2c0SmZWRJ6bGtmCV7DBvV/ofF4bi7iSI6NUAZCRohfzT+0w+KOwMHZwxGtmleilr FnKTpUGKyTAY+qrQHKEzpMM= Received: (qmail 15094 invoked by alias); 31 May 2013 11:03:02 -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 11595 invoked by uid 89); 31 May 2013 11:02:26 -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:02:25 +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:02:22 +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:02:21 +0100 Message-ID: <51A8833D.3040803@arm.com> Date: Fri, 31 May 2013 12:02:21 +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 pr54684.C regression for arm*-*-* X-MC-Unique: 113053112022208501 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 pr54684.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 * g++.dg/torture/pr54684.C: Add -fno-short-enums. diff --git a/gcc/testsuite/g++.dg/torture/pr54684.C b/gcc/testsuite/g++.dg/torture/pr54684.C index 40c47f3..4934011 100644 --- a/gcc/testsuite/g++.dg/torture/pr54684.C +++ b/gcc/testsuite/g++.dg/torture/pr54684.C @@ -1,4 +1,5 @@ // { dg-do compile } +// { dg-options "-fno-short-enums" } typedef union tree_node *tree; typedef union gimple_statement_d *gimple;