summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 19:32:16 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 19:32:16 +0000
commit00a4a89fbb6db9f117a4f9def4c788a149084307 (patch)
tree9d78e486742912cbefb837d03c28bba34956300b /gcc
parentf00e74caf6e70aa07553c49032ac35407cc094c2 (diff)
downloadgcc-00a4a89fbb6db9f117a4f9def4c788a149084307.tar.gz
* tree.c (id_string_size): Remove.
(dump_tree_statistics): Update. * toplev.c (compile_file): If dumping stats, dump tree stats too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46648 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/toplev.c1
-rw-r--r--gcc/tree.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 52861389498..9e117aa2cab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * tree.c (id_string_size): Remove.
+ (dump_tree_statistics): Update.
+ * toplev.c (compile_file): If dumping stats, dump tree stats too.
+
Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
* sched-rgn.c (schedule_insns): Fix comment.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index e8184aae019..11d19e04baa 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2482,6 +2482,7 @@ compile_file (name)
{
ggc_print_statistics ();
stringpool_statistics ();
+ dump_tree_statistics ();
}
/* Free up memory for the benefit of leak detectors. */
diff --git a/gcc/tree.c b/gcc/tree.c
index bb781170e45..1912b8b8089 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -110,7 +110,6 @@ typedef enum
int tree_node_counts[(int) all_kinds];
int tree_node_sizes[(int) all_kinds];
-int id_string_size = 0;
static const char * const tree_node_kind_names[] = {
"decls",
@@ -4417,7 +4416,6 @@ dump_tree_statistics ()
total_nodes += tree_node_counts[i];
total_bytes += tree_node_sizes[i];
}
- fprintf (stderr, "%-20s %9d\n", "identifier names", id_string_size);
fprintf (stderr, "-------------------------------------\n");
fprintf (stderr, "%-20s %6d %9d\n", "Total", total_nodes, total_bytes);
fprintf (stderr, "-------------------------------------\n");