aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-02-22 20:25:19 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-02-22 19:25:19 +0000
commitb3de7382fa418d20b57053820afb9a61654332c4 (patch)
tree7c0e1c2da10f8fd3410edec191324ce4cc86eb25 /gcc
parent48e082b90065ab7597361797711b116c180b491b (diff)
downloadgcc-b3de7382fa418d20b57053820afb9a61654332c4.zip
gcc-b3de7382fa418d20b57053820afb9a61654332c4.tar.gz
gcc-b3de7382fa418d20b57053820afb9a61654332c4.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c22
2 files changed, 6 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6483953..b0b4df8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index acb98ee..5e63794 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. */