From ac09f4822bdaf70d1f4e2e6873f680f62b3cd40f Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Mon, 24 Apr 2000 18:42:22 +0000 Subject: [PATCH] decl2.c (finish_file): Remove double setup for accounting compile time. * decl2.c (finish_file): Remove double setup for accounting compile time. From-SVN: r33386 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl2.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 689b8d0339a..fbd1d33f31d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-04-24 Zack Weinberg + + * decl2.c (finish_file): Remove double setup for accounting + compile time. + 2000-04-24 Robert Lipe * cp-tree.h (lang_type): Member `language' now ENUM_BITFIELD. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 444b8a79468..61685dd3dda 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -3440,8 +3440,6 @@ finish_file () if (! global_bindings_p () || current_class_type || decl_namespace_list) return; - start_time = get_run_time (); - /* Otherwise, GDB can get confused, because in only knows about source for LINENO-1 lines. */ lineno -= 1; @@ -3465,9 +3463,6 @@ finish_file () generating the intiailzer for an object may cause templates to be instantiated, etc., etc. */ - this_time = get_run_time (); - parse_time -= this_time - start_time; - varconst_time += this_time - start_time; start_time = get_run_time (); if (new_abi_rtti_p ()) -- 2.30.2