Commit 2c2d5d00 by Jeff Law Committed by Jeff Law

re PR middle-end/79521 (Bootstrap failure on i686-linux starting with r245436)

	PR middle-end/79521
	* ira-costs.c (scan_one_insn): Check have_regs_of_mode before calling
	ira_init_register_move_cost_if_necessary.

From-SVN: r245500
parent eb7145f5
2017-02-15 Jeff Law <law@redhat.com>
PR middle-end/79521
* ira-costs.c (scan_one_insn): Check have_regs_of_mode before calling
ira_init_register_move_cost_if_necessary.
2017-02-15 Martin Sebor <msebor@redhat.com>
PR middle-end/32003
......
......@@ -1452,7 +1452,8 @@ scan_one_insn (rtx_insn *insn)
{
rtx x = XEXP (PATTERN (insn), 0);
if (GET_CODE (x) == REG
&& REGNO (x) >= FIRST_PSEUDO_REGISTER)
&& REGNO (x) >= FIRST_PSEUDO_REGISTER
&& have_regs_of_mode[GET_MODE (x)])
ira_init_register_move_cost_if_necessary (GET_MODE (x));
return insn;
}
......
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