From: Kaveh R. Ghazi Date: Fri, 21 Jun 2002 19:33:24 +0000 (+0000) Subject: tree.c (tree_node_kind, [...]): Wrap in GATHER_STATISTICS macro. X-Git-Tag: releases/gcc-3.3.0~4162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e16bfe2b1f88659bc0fa4815d3696ed092d5de4;p=thirdparty%2Fgcc.git tree.c (tree_node_kind, [...]): Wrap in GATHER_STATISTICS macro. * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes, tree_node_kind_names): Wrap in GATHER_STATISTICS macro. From-SVN: r54888 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ceaa91c2c8aa..68ce4ac53b13 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-21 Kaveh R. Ghazi + + * 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 * config/vax/netbsd.h: Adjust a comment. diff --git a/gcc/tree.c b/gcc/tree.c index 1ee045b90656..512e523cdc47 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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;