Commit fca96842 by Bernd Schmidt Committed by Bernd Schmidt

re PR bootstrap/48403 (bootstrap comparison failure)

	PR bootstrap/48403
	* haifa-sched.c (schedule_block): Increment cycle_issued_insns only
	if old and new states differ.

From-SVN: r172006
parent 30b83e38
2011-04-05 Bernd Schmidt <bernds@codesourcery.com>
PR bootstrap/48403
* haifa-sched.c (schedule_block): Increment cycle_issued_insns only
if old and new states differ.
2011-04-05 Joseph Myers <joseph@codesourcery.com>
* config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200,
......
......@@ -3230,9 +3230,11 @@ schedule_block (basic_block *target_bb)
if (recog_memoized (insn) >= 0)
{
memcpy (temp_state, curr_state, dfa_state_size);
cost = state_transition (curr_state, insn);
if (!flag_sched_pressure)
gcc_assert (cost < 0);
if (memcmp (temp_state, curr_state, dfa_state_size) != 0)
cycle_issued_insns++;
asm_p = false;
}
......
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