From patchwork Wed Dec 16 18:56:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 557701 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41B1814031F for ; Thu, 17 Dec 2015 05:56:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=b7VhQYSm; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=BS3x54gDFH8azgaL01qN9m8HGakarCuipbF/O8dJQjiR7KHGj1 F/h4Q97KwTxTW/RP+bbVvQxYSMddstmoxhgkMxRb0VYZP270iDCQXwkIbhEu6lGr uiz5Of7TTzNHM5yEYbuw2R+LUEmQhIbzKupgKAqroXMl/ewqKxjZ5RfMg= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=9Ip+bKGJyf1/8bDhtw2KRmHxguE=; b=b7VhQYSmB33zebmpLGv7 odUUGuq3wUethfK3fv3/wNh5CcWzjm4Wkno77OBqbS2JQOLTiUPD+3cI3nSyNNNV cpq/jF3CF3VZPCPizOSsdfVoNlfjIzA1KdoL/3UuZxSzHBGznHjYNrOwwoaWAY4N RUZxIsLbINwgUB1DMzhHi8k= Received: (qmail 94007 invoked by alias); 16 Dec 2015 18:56:20 -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 93997 invoked by uid 89); 16 Dec 2015 18:56:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=sk:conflic, UD:conflict-markers-1.c, 39, 7, U*dmalcolm X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 16 Dec 2015 18:56:19 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 7AFC240C23 for ; Wed, 16 Dec 2015 18:56:17 +0000 (UTC) Received: from localhost.localdomain (ovpn-113-83.phx2.redhat.com [10.3.113.83]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBGIuGvj022096 for ; Wed, 16 Dec 2015 13:56:17 -0500 To: gcc-patches@gcc.gnu.org From: Jeff Law Subject: Fix size of enum bitfield in recently added test Message-ID: <5671B3D0.50803@redhat.com> Date: Wed, 16 Dec 2015 11:56:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-IsSubscribed: yes Matthew pointed out this test was failing for arm-none-eabi because the rtx_code enum is represented in 8 bits which causes this error: pr68619-4.c:42:17: error: width of 'code' exceeds its type enum rtx_code code:16; I changed the size of the bitfield in the obvious way. I verified all the other pr68619 tests on arm-none-eabi as well as verifying x86_64's was happy with the change to pr68619-4.c. Installed on the trunk. Jeff commit 7b42c818ec41486da307b50f504d29d20086e8a8 Author: law Date: Wed Dec 16 18:53:25 2015 +0000 * gcc.dg/tree-ssa/pr68619-4.c: Change size of code bitfield. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231717 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83cf7ac..9ce80b1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-12-13 Jeff Law + + * gcc.dg/tree-ssa/pr68619-4.c: Change size of code bitfield. + 2015-12-16 David Malcolm * c-c++-common/conflict-markers-1.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr68619-4.c b/gcc/testsuite/gcc.dg/tree-ssa/pr68619-4.c index da3cdb9..6c7d180 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr68619-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr68619-4.c @@ -39,7 +39,7 @@ union rtunion_def typedef union rtunion_def rtunion; struct rtx_def { - enum rtx_code code:16; + enum rtx_code code:8; union u { rtunion fld[1];