aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@cygnus.com>1998-05-13 12:26:49 +0000
committerJeff Law <law@gcc.gnu.org>1998-05-13 06:26:49 -0600
commit32e705c43462a5ec39354fd088d367949b1a63d9 (patch)
treed021007f0bf38e701f71b6cb15c14f0ff6c8f858 /gcc
parent6fc4610b8c14995d38b07c18c34e109de786109d (diff)
downloadgcc-32e705c43462a5ec39354fd088d367949b1a63d9.zip
gcc-32e705c43462a5ec39354fd088d367949b1a63d9.tar.gz
gcc-32e705c43462a5ec39354fd088d367949b1a63d9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c25
2 files changed, 17 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69a6dad..06e04e6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
+ * 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 d933b1b..56d8222 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 ();
-
- /* Clear out the real_constant_chain before some of the rtx's
- it runs through become garbage. */
-
- clear_const_double_mem ();
-
- /* Cancel the effect of rtl_in_current_obstack. */
+ TIMEVAR (final_time,
+ {
+ /* Clear out the insn_length contents now that they are no
+ longer valid. */
+ init_insn_lengths ();
- resume_temporary_allocation ();
+ /* Clear out the real_constant_chain before some of the rtx's
+ it runs through become garbage. */
+ clear_const_double_mem ();
- /* Show no temporary slots allocated. */
+ /* Cancel the effect of rtl_in_current_obstack. */
+ resume_temporary_allocation ();
- 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