Commit 7ba06dee by Vladimir Makarov Committed by Vladimir Makarov

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
parent 3621d5ec
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> 2009-10-06 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_node_can_be_local): Handle externally visible nodes * cgraph.c (cgraph_node_can_be_local): Handle externally visible nodes
...@@ -500,7 +500,7 @@ check_and_make_def_conflict (int alt, int def, enum reg_class def_cl) ...@@ -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++) for (use = 0; use < recog_data.n_operands; use++)
{ {
if (use == def || recog_data.operand_type[use] == OP_OUT) if (use == def || recog_data.operand_type[use] == OP_OUT)
return; continue;
if (recog_op_alt[use][alt].anything_ok) if (recog_op_alt[use][alt].anything_ok)
use_cl = ALL_REGS; use_cl = ALL_REGS;
...@@ -513,7 +513,7 @@ check_and_make_def_conflict (int alt, int def, enum reg_class def_cl) ...@@ -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 = recog_op_alt[use][alt].matches) >= 0)
{ {
if (use_match == def) if (use_match == def)
return; continue;
if (recog_op_alt[use_match][alt].anything_ok) if (recog_op_alt[use_match][alt].anything_ok)
use_cl = ALL_REGS; use_cl = ALL_REGS;
......
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