re PR middle-end/22072 (bizarre code for int*int/2 for -Os)

2009-10-07  Vladimir Makarov  <vmakarov@redhat.com>

	PR middle-end/22072
	* ira-lives.c (check_and_make_def_conflict): Process all operands.

From-SVN: r152533
This commit is contained in:
Vladimir Makarov 2009-10-07 17:18:38 +00:00 committed by Vladimir Makarov
parent 3621d5ec1d
commit 7ba06dee52
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-10-07 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/22072
* ira-lives.c (check_and_make_def_conflict): Process all operands.
2009-10-06 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_node_can_be_local): Handle externally visible nodes

View File

@ -500,7 +500,7 @@ check_and_make_def_conflict (int alt, int def, enum reg_class def_cl)
for (use = 0; use < recog_data.n_operands; use++)
{
if (use == def || recog_data.operand_type[use] == OP_OUT)
return;
continue;
if (recog_op_alt[use][alt].anything_ok)
use_cl = ALL_REGS;
@ -513,7 +513,7 @@ check_and_make_def_conflict (int alt, int def, enum reg_class def_cl)
if ((use_match = recog_op_alt[use][alt].matches) >= 0)
{
if (use_match == def)
return;
continue;
if (recog_op_alt[use_match][alt].anything_ok)
use_cl = ALL_REGS;