From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4781 invoked by alias); 12 May 2011 01:39:34 -0000 Received: (qmail 4766 invoked by uid 22791); 12 May 2011 01:39:34 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 May 2011 01:39:15 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4C1d6Td018911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 May 2011 21:39:06 -0400 Received: from [127.0.0.1] (ovpn-113-60.phx2.redhat.com [10.3.113.60]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p4C1d08k032086; Wed, 11 May 2011 21:39:06 -0400 Message-ID: <4DCB3A34.4040506@redhat.com> Date: Thu, 12 May 2011 01:39:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110421 Fedora/3.1.9-2.fc14 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Nathan Froyd CC: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org Subject: Re: [PATCH] split tree_type, a.k.a. "tuplifying types" References: <20110510161543.GW23480@codesourcery.com> In-Reply-To: <20110510161543.GW23480@codesourcery.com> Content-Type: multipart/mixed; boundary="------------020709090902010107090308" Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2011-q2/txt/msg00047.txt.bz2 This is a multi-part message in MIME format. --------------020709090902010107090308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 83 I'm checking this in to fix build with --enable-gather-detailed-mem-stats. Jason --------------020709090902010107090308 Content-Type: text/plain; name="stat-type.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="stat-type.patch" Content-length: 666 commit 091ac850cf8830722c9bae83232f0d95ccd45b2a Author: Jason Merrill Date: Wed May 11 21:36:09 2011 -0400 * tree.c (type_hash_canon): Use struct tree_type_non_common. diff --git a/gcc/tree.c b/gcc/tree.c index c38d24b..3357d84 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -6217,7 +6217,7 @@ type_hash_canon (unsigned int hashcode, tree type) #ifdef GATHER_STATISTICS tree_code_counts[(int) TREE_CODE (type)]--; tree_node_counts[(int) t_kind]--; - tree_node_sizes[(int) t_kind] -= sizeof (struct tree_type); + tree_node_sizes[(int) t_kind] -= sizeof (struct tree_type_non_common); #endif return t1; } --------------020709090902010107090308--