summaryrefslogtreecommitdiff
path: root/gcc/sel-sched.c
diff options
context:
space:
mode:
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 14:10:10 +0000
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-08 14:10:10 +0000
commita060ed032c3f5f93bfd96d2e30d3f03fe3ebb9e4 (patch)
tree3e07c35fff7077deffc7d23150735a50f7582759 /gcc/sel-sched.c
parentc15d7785dce343ae10c81423099473947ecd8b94 (diff)
downloadgcc-a060ed032c3f5f93bfd96d2e30d3f03fe3ebb9e4.tar.gz
* sel-sched.c (sel_region_init): Move call to
sel_setup_region_sched_flags after setup_current_loop_nest. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched.c')
-rw-r--r--gcc/sel-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index f409c4fa2cc..e298208ddb5 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -6868,8 +6868,6 @@ sel_region_init (int rgn)
if (current_region_empty_p ())
return true;
- sel_setup_region_sched_flags ();
-
bbs = VEC_alloc (basic_block, heap, current_nr_blocks);
for (i = 0; i < current_nr_blocks; i++)
@@ -6880,6 +6878,8 @@ sel_region_init (int rgn)
if (flag_sel_sched_pipelining)
setup_current_loop_nest (rgn, &bbs);
+ sel_setup_region_sched_flags ();
+
/* Initialize luids and dependence analysis which both sel-sched and haifa
need. */
sched_init_luids (bbs, NULL, NULL, NULL);