tree.c (tree_node_kind, [...]): Wrap in GATHER_STATISTICS macro.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 21 Jun 2002 19:33:24 +0000 (19:33 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 21 Jun 2002 19:33:24 +0000 (19:33 +0000)
* tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
tree_node_kind_names): Wrap in GATHER_STATISTICS macro.

From-SVN: r54888

gcc/ChangeLog
gcc/tree.c

index ceaa91c2c8aa4f42d3f0bd4502606557d5d8986c..68ce4ac53b13152643bc5170ba43759b025a3f7d 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
+       tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
+
 2002-06-21  Matt Thomas  <matt@3am-software.com>
 
        * config/vax/netbsd.h: Adjust a comment.
index 1ee045b906565b3121b2479d5805be909a5feb3b..512e523cdc470034cac5ad6c81efe505f2987188 100644 (file)
@@ -57,6 +57,7 @@ extern int _obstack_allocated_p PARAMS ((struct obstack *h, PTR obj));
 
 struct obstack permanent_obstack;
 
+#ifdef GATHER_STATISTICS
 /* Statistics-gathering stuff.  */
 typedef enum
 {
@@ -96,6 +97,7 @@ static const char * const tree_node_kind_names[] = {
   "lang_decl kinds",
   "lang_type kinds"
 };
+#endif /* GATHER_STATISTICS */
 
 /* Unique id for next decl created.  */
 static int next_decl_uid;