From 57421f45e80e19f0100187543ff91d291359d5ff Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 11 May 2011 21:36:38 -0400 Subject: [PATCH] * tree.c (type_hash_canon): Use struct tree_type_non_common. From-SVN: r173692 --- gcc/ChangeLog | 4 ++++ gcc/tree.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a43b7e17a73..2f008f1b626 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-11 Jason Merrill + + * tree.c (type_hash_canon): Use struct tree_type_non_common. + 2011-05-11 Eric Botcazou * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and diff --git a/gcc/tree.c b/gcc/tree.c index c38d24bf12e..3357d84666b 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; } -- 2.30.2