This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] split tree_type, a.k.a. "tuplifying types"
- From: Jason Merrill <jason at redhat dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 11 May 2011 21:39:00 -0400
- Subject: Re: [PATCH] split tree_type, a.k.a. "tuplifying types"
- References: <20110510161543.GW23480@codesourcery.com>
I'm checking this in to fix build with --enable-gather-detailed-mem-stats.
Jason
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;
}