* tree.c (type_hash_canon): Use struct tree_type_non_common.
authorJason Merrill <jason@redhat.com>
Thu, 12 May 2011 01:36:38 +0000 (21:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 May 2011 01:36:38 +0000 (21:36 -0400)
From-SVN: r173692

gcc/ChangeLog
gcc/tree.c

index a43b7e17a73d31ef0bbbd53ef97fb4cd61dc40e2..2f008f1b6269b896d966f1c47c89a4007607b891 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-11  Jason Merrill  <jason@redhat.com>
+
+       * tree.c (type_hash_canon): Use struct tree_type_non_common.
+
 2011-05-11  Eric Botcazou  <ebotcazou@adacore.com>
 
        * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and
index c38d24bf12e9abe4893194a57dd4b0a034dc61e2..3357d84666b95a13e57222d0842244c1b03c77fb 100644 (file)
@@ -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;
     }