decl2.c (finish_file): Remove double setup for accounting compile time.
authorZack Weinberg <zack@wolery.cumb.org>
Mon, 24 Apr 2000 18:42:22 +0000 (18:42 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 24 Apr 2000 18:42:22 +0000 (18:42 +0000)
* decl2.c (finish_file): Remove double setup for accounting
compile time.

From-SVN: r33386

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 689b8d0..fbd1d33 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-24  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * decl2.c (finish_file): Remove double setup for accounting
+       compile time.
+
 2000-04-24  Robert Lipe <robertlipe@usa.net>
 
        * cp-tree.h (lang_type): Member `language' now ENUM_BITFIELD.
index 444b8a7..61685dd 100644 (file)
@@ -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 ())