tree.c (id_string_size): Remove.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 30 Oct 2001 19:32:16 +0000 (19:32 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 30 Oct 2001 19:32:16 +0000 (19:32 +0000)
* tree.c (id_string_size): Remove.
(dump_tree_statistics): Update.
* toplev.c (compile_file): If dumping stats, dump tree stats too.

From-SVN: r46648

gcc/ChangeLog
gcc/toplev.c
gcc/tree.c

index 52861389498e3cb53fe9ca36377cae0d7d925bbf..9e117aa2cabe56c1772be22122fe2def357af065 100644 (file)
@@ -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.
index e8184aae0199fa6ec8b959cc33fd0a753dad6e75..11d19e04baa3a003c5c6262be73ee9c752d42516 100644 (file)
@@ -2482,6 +2482,7 @@ compile_file (name)
     {
       ggc_print_statistics ();
       stringpool_statistics ();
+      dump_tree_statistics ();
     }
 
   /* Free up memory for the benefit of leak detectors.  */
index bb781170e4556f3a5a57930c0f1d632ac38c858a..1912b8b80899eb09257900fb4bb6382455118167 100644 (file)
@@ -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");