aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-06-21 19:33:24 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-06-21 19:33:24 +0000
commit3e16bfe2b1f88659bc0fa4815d3696ed092d5de4 (patch)
tree471f2ea8a5689cb680ea72df2f9df09491c0342e /gcc/tree.c
parent6b0760fd15f2617ff4af9788b78bfba121e72fca (diff)
downloadgcc-3e16bfe2b1f88659bc0fa4815d3696ed092d5de4.zip
gcc-3e16bfe2b1f88659bc0fa4815d3696ed092d5de4.tar.gz
gcc-3e16bfe2b1f88659bc0fa4815d3696ed092d5de4.tar.bz2
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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 1ee045b..512e523 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;