Commit 4743d438 by Bernd Schmidt Committed by Bernd Schmidt

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
parent c76f8d52
2011-04-16 Bernd Schmidt <bernds@codesourcery.com>
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 <pthaugen@us.ibm.com> 2011-04-15 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/rs6000.c (call_ABI_of_interest): Call * config/rs6000/rs6000.c (call_ABI_of_interest): Call
......
...@@ -2898,7 +2898,7 @@ prune_ready_list (state_t temp_state, bool first_cycle_insn_p) ...@@ -2898,7 +2898,7 @@ prune_ready_list (state_t temp_state, bool first_cycle_insn_p)
cost = 1; cost = 1;
reason = "asm"; reason = "asm";
} }
else if (flag_sched_pressure) else if (sched_pressure_p)
cost = 0; cost = 0;
else else
{ {
...@@ -3232,7 +3232,7 @@ schedule_block (basic_block *target_bb) ...@@ -3232,7 +3232,7 @@ schedule_block (basic_block *target_bb)
{ {
memcpy (temp_state, curr_state, dfa_state_size); memcpy (temp_state, curr_state, dfa_state_size);
cost = state_transition (curr_state, insn); cost = state_transition (curr_state, insn);
if (!flag_sched_pressure) if (!sched_pressure_p)
gcc_assert (cost < 0); gcc_assert (cost < 0);
if (memcmp (temp_state, curr_state, dfa_state_size) != 0) if (memcmp (temp_state, curr_state, dfa_state_size) != 0)
cycle_issued_insns++; cycle_issued_insns++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment