From 32e705c43462a5ec39354fd088d367949b1a63d9 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 13 May 1998 12:26:49 +0000 Subject: [PATCH] toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing... * toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing compilation of a function. From-SVN: r19711 --- gcc/ChangeLog | 4 ++++ gcc/toplev.c | 25 +++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69a6dad289b..06e04e6d74a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ Wed May 13 12:54:19 1998 Michael Meissner + * toplev.c (rest_of_compilation): "Charge" final for any time + doing various cleanup operations after finishing compilation + of a function. + * flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable. diff --git a/gcc/toplev.c b/gcc/toplev.c index d933b1beea9..56d8222f443 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3645,21 +3645,22 @@ rest_of_compilation (decl) reload_completed = 0; - /* Clear out the insn_length contents now that they are no longer valid. */ - init_insn_lengths (); + TIMEVAR (final_time, + { + /* Clear out the insn_length contents now that they are no + longer valid. */ + init_insn_lengths (); - /* Clear out the real_constant_chain before some of the rtx's - it runs through become garbage. */ + /* Clear out the real_constant_chain before some of the rtx's + it runs through become garbage. */ + clear_const_double_mem (); - clear_const_double_mem (); + /* Cancel the effect of rtl_in_current_obstack. */ + resume_temporary_allocation (); - /* Cancel the effect of rtl_in_current_obstack. */ - - resume_temporary_allocation (); - - /* Show no temporary slots allocated. */ - - init_temp_slots (); + /* Show no temporary slots allocated. */ + init_temp_slots (); + }); /* Make sure volatile mem refs aren't considered valid operands for arithmetic insns. We must call this here if this is a nested inline