From b3de7382fa418d20b57053820afb9a61654332c4 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 22 Feb 2003 20:25:19 +0100 Subject: [PATCH] toplev.c (rest_of_compilation): Apply fotgotten hunk of track scheduling patch. * toplev.c (rest_of_compilation): Apply fotgotten hunk of track scheduling patch. From-SVN: r63298 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 22 +--------------------- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 648395323c0..b0b4df8c8f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 22 20:22:19 CET 2003 Jan Hubicka + + * toplev.c (rest_of_compilation): Apply fotgotten hunk + of track scheduling patch. + Sat Feb 22 19:29:28 CET 2003 Jan Hubicka * config/linux.h (TARGET_HAS_F_SETLKW): Define. diff --git a/gcc/toplev.c b/gcc/toplev.c index acb98eec96b..5e63794c7d7 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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. */ -- 2.30.2