From: Jason Merrill <jason@redhat.com>
To: Nathan Froyd <froydnj@codesourcery.com>
Cc: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org
Subject: Re: [PATCH] split tree_type, a.k.a. "tuplifying types"
Date: Thu, 12 May 2011 01:39:00 -0000 [thread overview]
Message-ID: <4DCB3A34.4040506@redhat.com> (raw)
In-Reply-To: <20110510161543.GW23480@codesourcery.com>
[-- Attachment #1: Type: text/plain, Size: 83 bytes --]
I'm checking this in to fix build with --enable-gather-detailed-mem-stats.
Jason
[-- Attachment #2: stat-type.patch --]
[-- Type: text/plain, Size: 666 bytes --]
commit 091ac850cf8830722c9bae83232f0d95ccd45b2a
Author: Jason Merrill <jason@redhat.com>
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;
}
prev parent reply other threads:[~2011-05-12 1:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-10 16:16 Nathan Froyd
2011-05-10 16:54 ` Mike Stump
2011-05-10 17:28 ` Diego Novillo
[not found] ` <20110510175015.GY23480@codesourcery.com>
2011-05-10 21:13 ` Michael Matz
2011-05-10 19:28 ` Tom Tromey
2011-05-12 1:39 ` Jason Merrill [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DCB3A34.4040506@redhat.com \
--to=jason@redhat.com \
--cc=froydnj@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=java-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).