I'm checking this in to fix build with --enable-gather-detailed-mem-stats.

Jason

commit 091ac850cf8830722c9bae83232f0d95ccd45b2a
Author: Jason Merrill <ja...@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;
     }

Reply via email to