re PR target/80017 (ICE: Max. number of generated reload insns per insn is achieved (90))

2017-03-15  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/80017
	* lra-constraints.c (process_alt_operands): Increase reject for
	reloading an input/output operand.

From-SVN: r246181
This commit is contained in:
Vladimir Makarov 2017-03-15 23:04:09 +00:00 committed by Vladimir Makarov
parent 559a77e112
commit 8b8e41e5c2
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2017-03-15 Vladimir Makarov <vmakarov@redhat.com>
PR target/80017
* lra-constraints.c (process_alt_operands): Increase reject for
reloading an input/output operand.
2017-03-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/79038

View File

@ -2713,6 +2713,15 @@ process_alt_operands (int only_alternative)
if (MEM_P (op) && offmemok)
addr_losers++;
else if (curr_static_id->operand[nop].type == OP_INOUT)
{
if (lra_dump_file != NULL)
fprintf
(lra_dump_file,
" %d Input/Output reload: reject+=%d\n",
nop, LRA_LOSER_COST_FACTOR);
reject += LRA_LOSER_COST_FACTOR;
}
}
if (early_clobber_p && ! scratch_p)