OSDN Git Service

* toplev.c (rest_of_compilation): Apply fotgotten hunk
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Feb 2003 19:25:19 +0000 (19:25 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Feb 2003 19:25:19 +0000 (19:25 +0000)
of track scheduling patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63298 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/toplev.c

index 6483953..b0b4df8 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 acb98ee..5e63794 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.  */