From patchwork Fri May 31 11:01:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 247923 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 39BBC2C0097 for ; Fri, 31 May 2013 21:09:52 +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=ZDmP4oxwatUA3/d7ygWQ+OMcrQGM23hl7cQUI1j6379aJk IIgoyMs/e0Ha5Pdba/GMmvjdPPai4c1QKAJRorlDa7mYQI2KcNvvryuwIJT3/WPO S9L9gypGFTiQb9Ij0rXCyJmS3y6MM4/moE7We6+YUulZBQudin+INC0TO029E= 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=eFMuFtUC+nYo6UdrfvpzQrReh7c=; b=s/xMi2D+xOJ/wKRYkJXH vh5Zi0Bkzu9d7sjfJ1sZ29k8NTaLXRm5QEtXY8FM8FLS28X/PLNDMsxZSnfKVy5z ecqg7izVt6ZZrLqVKPYgqofIpeKvZ16SM80ThcCTyaall5aFeowIZ3IfMl6LCAux a3/k6YwSoRmO41kv9/5WP0U= Received: (qmail 15035 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 9548 invoked by uid 89); 31 May 2013 11:02:03 -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:03 +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:00 +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:58 +0100 Message-ID: <51A88326.9060503@arm.com> Date: Fri, 31 May 2013 12:01:58 +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 >> \"gcc-patches@gcc.gnu.org\"" Subject: [PATCH] Fix eb76.C regression for arm*-*-* X-MC-Unique: 113053112020009401 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 eb76.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++.old-deja/g++.robertl/eb76.C: Add -fno-short-enums. diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C index c74e7bd..3125dc1 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C @@ -1,4 +1,5 @@ // { dg-do assemble } +// { dg-options "-fno-short-enums" } // the template operator!= interferes. It should be in a namespace. #include