diff mbox

split tree_type, a.k.a. "tuplifying types"

Message ID 4DCB3A34.4040506@redhat.com
State New
Headers show

Commit Message

Jason Merrill May 12, 2011, 1:39 a.m. UTC
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 mbox

Patch

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;
     }