summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/sel-sched.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ee7c12440a..7de0e0bdcf5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-17 Bernd Schmidt <bernds@codesourcery.com>
+
+ * sel-sched.c (sel_global_init): Revert previous change.
+
2012-04-17 Richard Guenther <rguenther@suse.de>
* tree-flow.h (array_at_struct_end_p): Move declaration ...
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index ce38fa0e59f..6fef60ea0ac 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -7640,8 +7640,8 @@ sel_global_init (void)
sel_setup_sched_infos ();
setup_sched_dump ();
- sched_init ();
sched_rgn_init (false);
+ sched_init ();
sched_init_bbs ();
/* Reset AFTER_RECOVERY if it has been set by the 1st scheduler pass. */