]> gcc.gnu.org Git - gcc.git/commitdiff
toplev.c (rest_of_compilation): Account for time in optimize_mode_switching.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 28 Feb 2000 12:06:00 +0000 (12:06 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Feb 2000 12:06:00 +0000 (07:06 -0500)
* toplev.c (rest_of_compilation): Account for time in
optimize_mode_switching.

From-SVN: r32232

gcc/ChangeLog
gcc/toplev.c

index 21e2c0bd992141c71a6c47eebc3a5f20e2ff40f7..05055fb487a3123479ceba16bbbca03a7d679da6 100644 (file)
@@ -1,5 +1,8 @@
 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
+       * toplev.c (rest_of_compilation): Account for time in
+       optimize_mode_switching.
+
        * jump.c (jump_optimize_1): Don't call delete_barrier_successors
        if only marking labels.
 
index c8319f8d9b3756febdd0b3a63db12060a9706ac9..bb325df544d3065e76e4407bc0ea3f2acac8157e 100644 (file)
@@ -3315,8 +3315,8 @@ rest_of_compilation (decl)
 
       TIMEVAR (combine_time, 
               {
-                rebuild_jump_labels_after_combine = 
-                  combine_instructions (insns, max_reg_num ());
+                rebuild_jump_labels_after_combine
+                  combine_instructions (insns, max_reg_num ());
               });
       
       /* Combining insns may have turned an indirect jump into a
@@ -3361,15 +3361,15 @@ rest_of_compilation (decl)
        ggc_collect ();
     }
 
-  /* Print function header into sched dump now
-     because doing the sched analysis makes some of the dump.  */
-
   if (optimize && n_basic_blocks)
     {
-      optimize_mode_switching (NULL_PTR);
+      TIMEVAR (gcse_time, optimize_mode_switching (NULL_PTR));
     }
 
 #ifdef INSN_SCHEDULING
+
+  /* Print function header into sched dump now
+     because doing the sched analysis makes some of the dump.  */
   if (optimize > 0 && flag_schedule_insns)
     {
       if (sched_dump)
This page took 0.077919 seconds and 5 git commands to generate.