From: Jason Merrill Date: Thu, 12 May 2011 01:36:38 +0000 (-0400) Subject: * tree.c (type_hash_canon): Use struct tree_type_non_common. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57421f45e80e19f0100187543ff91d291359d5ff;p=gcc.git * tree.c (type_hash_canon): Use struct tree_type_non_common. From-SVN: r173692 --- 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; }