From: Bernd Schmidt Date: Fri, 15 Apr 2011 23:32:55 +0000 (+0000) Subject: re PR target/48629 (ICE on gcc.dg/pr42389.c on ia64-*-* with -fsched-pressure) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4743d438ea3ff9681f27586a181072a244a8f52b;p=gcc.git re PR target/48629 (ICE on gcc.dg/pr42389.c on ia64-*-* with -fsched-pressure) PR target/48629 * haifa-sched.c (prune_ready_list, schedule_block): Use sched_pressure_p rather than flag_sched_pressure. From-SVN: r172525 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80ee78d4150..99e1193a6b5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-16 Bernd Schmidt + + PR target/48629 + * haifa-sched.c (prune_ready_list, schedule_block): Use + sched_pressure_p rather than flag_sched_pressure. + 2011-04-15 Pat Haugen * config/rs6000/rs6000.c (call_ABI_of_interest): Call diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 3b05f1b7471..e2d389b9592 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -2898,7 +2898,7 @@ prune_ready_list (state_t temp_state, bool first_cycle_insn_p) cost = 1; reason = "asm"; } - else if (flag_sched_pressure) + else if (sched_pressure_p) cost = 0; else { @@ -3232,7 +3232,7 @@ schedule_block (basic_block *target_bb) { memcpy (temp_state, curr_state, dfa_state_size); cost = state_transition (curr_state, insn); - if (!flag_sched_pressure) + if (!sched_pressure_p) gcc_assert (cost < 0); if (memcmp (temp_state, curr_state, dfa_state_size) != 0) cycle_issued_insns++;