aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-04-15 19:54:26 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-04-15 15:54:26 -0400
commitb9bfacf01ce274e236db460890bcce882835cce1 (patch)
treecc02e6bb448df629adc54e8a5c9b9778d1a6574d /gcc/toplev.c
parent77a02dba353a95a8e4b940f4dc80b927a27b980d (diff)
downloadgcc-b9bfacf01ce274e236db460890bcce882835cce1.zip
gcc-b9bfacf01ce274e236db460890bcce882835cce1.tar.gz
gcc-b9bfacf01ce274e236db460890bcce882835cce1.tar.bz2
Makefile.in (ggc-page.o): Now includes toplev.h.
* Makefile.in (ggc-page.o): Now includes toplev.h. * ggc-page.c (toplev.h): Now included. (gc_time): Remove declaration. (ggc_collect): TIME now long. * toplev.c (parse_time, varasm_time, gc_time): Still global; all others static. * toplev.h (gc_time, parse_time, gc_time): New declarations. * cp/decl2.c (parse_time, varconst_time): Delete declarations. (finish_file): Delete LINENO declaration. START_TIME and THIS_TIME now long. From-SVN: r33169
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c60
1 files changed, 31 insertions, 29 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 1a2b4f9..e90f994e 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1401,38 +1401,40 @@ read_integral_parameter (p, pname, defval)
}
-/* Time accumulators, to count the total time spent in various passes. */
+/* Time accumulators, to count the total time spent in various passes.
+ The first three are used in other files; the latter two only here. */
+long gc_time;
long parse_time;
long varconst_time;
-long integration_time;
-long jump_time;
-long cse_time;
-long gcse_time;
-long loop_time;
-long cse2_time;
-long branch_prob_time;
-long flow_time;
-long combine_time;
-long regmove_time;
-long sched_time;
-long local_alloc_time;
-long global_alloc_time;
-long flow2_time;
-long peephole2_time;
-long sched2_time;
-long dbr_sched_time;
-long reorder_blocks_time;
-long rename_registers_time;
-long shorten_branch_time;
-long stack_reg_time;
-long to_ssa_time;
-long from_ssa_time;
-long final_time;
-long symout_time;
-long dump_time;
-long gc_time;
-long all_time;
+
+static long integration_time;
+static long jump_time;
+static long cse_time;
+static long gcse_time;
+static long loop_time;
+static long cse2_time;
+static long branch_prob_time;
+static long flow_time;
+static long combine_time;
+static long regmove_time;
+static long sched_time;
+static long local_alloc_time;
+static long global_alloc_time;
+static long flow2_time;
+static long peephole2_time;
+static long sched2_time;
+static long dbr_sched_time;
+static long reorder_blocks_time;
+static long rename_registers_time;
+static long shorten_branch_time;
+static long stack_reg_time;
+static long to_ssa_time;
+static long from_ssa_time;
+static long final_time;
+static long symout_time;
+static long dump_time;
+static long all_time;
/* Return time used so far, in microseconds. */