re PR rtl-optimization/54456 (ICE: in init_seqno, at sel-sched.c:6797 with -fschedule-insns -fselective-scheduling)
PR rtl-optimization/54456 * sched-rgn.c (gate_handle_sched): Return 1 only if optimize > 0. From-SVN: r190947
This commit is contained in:
parent
92383a2a11
commit
88a8ba9581
@ -1,3 +1,8 @@
|
||||
2012-09-04 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR rtl-optimization/54456
|
||||
* sched-rgn.c (gate_handle_sched): Return 1 only if optimize > 0.
|
||||
|
||||
2012-09-04 Diego Novillo <dnovillo@google.com>
|
||||
|
||||
PR bootstrap/54478
|
||||
|
@ -3473,7 +3473,7 @@ static bool
|
||||
gate_handle_sched (void)
|
||||
{
|
||||
#ifdef INSN_SCHEDULING
|
||||
return flag_schedule_insns && dbg_cnt (sched_func);
|
||||
return optimize > 0 && flag_schedule_insns && dbg_cnt (sched_func);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user