toplev.c (rest_of_compilation): Apply fotgotten hunk of track scheduling patch.
authorJan Hubicka <jh@suse.cz>
Sat, 22 Feb 2003 19:25:19 +0000 (20:25 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 22 Feb 2003 19:25:19 +0000 (19:25 +0000)
* toplev.c (rest_of_compilation):  Apply fotgotten hunk
of track scheduling patch.

From-SVN: r63298

gcc/ChangeLog
gcc/toplev.c

index 648395323c0d258ee58084460030220b935dc997..b0b4df8c8f50c80826693b839d21c195cbb2c84f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 22 20:22:19 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       * toplev.c (rest_of_compilation):  Apply fotgotten hunk
+       of track scheduling patch.
+
 Sat Feb 22 19:29:28 CET 2003  Jan Hubicka  <jh@suse.cz>
 
        * config/linux.h (TARGET_HAS_F_SETLKW): Define.
index acb98eec96b545899b9c40f45ec285c05e8359e0..5e63794c7d7acddcf612edc0ea8b3f113deb6079 100644 (file)
@@ -3575,7 +3575,7 @@ rest_of_compilation (decl)
          && flag_reorder_blocks)
        {
          reorder_basic_blocks ();
-         cleanup_cfg (CLEANUP_EXPENSIVE);
+         cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK);
        }
     }
 
@@ -3584,26 +3584,6 @@ rest_of_compilation (decl)
 
   ggc_collect ();
 #endif
-  if (optimize > 0)
-    {
-      timevar_push (TV_REORDER_BLOCKS);
-      open_dump_file (DFI_bbro, decl);
-
-      /* Last attempt to optimize CFG, as scheduling, peepholing and insn
-        splitting possibly introduced more crossjumping opportunities.
-        Except that we can't actually run crossjumping without running
-        another DCE pass, which we can't do after reg-stack.  */
-      cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK
-                  | (flag_crossjumping ? CLEANUP_CROSSJUMP : 0));
-      if (flag_reorder_blocks)
-       {
-         reorder_basic_blocks ();
-         cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK);
-       }
-
-      close_dump_file (DFI_bbro, print_rtl_with_bb, insns);
-      timevar_pop (TV_REORDER_BLOCKS);
-    }
   compute_alignments ();
 
   /* CFG is no longer maintained up-to-date.  */