Commit 12422bc8 by Vladimir Makarov Committed by Vladimir Makarov

re PR bootstrap/88157 (ICE when building libgo encoding/gob.lo starting with r266385)

2018-11-25  Vladimir Makarov  <vmakarov@redhat.com>

	PR bootstrap/88157
	* ira-costs.c (record_operand_costs): Initiate register move cost
	for mode.

From-SVN: r266435
parent 30bf4f8e
2018-11-25 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/88157
* ira-costs.c (record_operand_costs): Initiate register move cost
for mode.
2018-11-23 Jeff Law <law@redhat.com>
PR rtl-optimization/87468
......@@ -1318,6 +1318,7 @@ record_operand_costs (rtx_insn *insn, enum reg_class *pref)
int cost, k;
bool dead_p = find_regno_note (insn, REG_DEAD, REGNO (src));
ira_init_register_move_cost_if_necessary (mode);
hard_reg_class = REGNO_REG_CLASS (other_regno);
/* Target code may return any cost for mode which does not
fit the the hard reg class (e.g. DImode for AREG on
......
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