Commit 2eb6dac7 by Andreas Schwab Committed by Jeff Law

* reload1.c (delete_output_reload): Avoid ambigous else.

From-SVN: r23379
parent c47f5ea5
1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* reload1.c (delete_output_reload): Avoid ambigous else.
Wed Oct 28 00:10:35 1998 Jeffrey A Law (law@cygnus.com) Wed Oct 28 00:10:35 1998 Jeffrey A Law (law@cygnus.com)
* final.c (cleanup_subreg_operands): New function. * final.c (cleanup_subreg_operands): New function.
......
...@@ -7827,6 +7827,7 @@ delete_output_reload (insn, j, last_reload_reg) ...@@ -7827,6 +7827,7 @@ delete_output_reload (insn, j, last_reload_reg)
while (GET_CODE (reg2) == SUBREG) while (GET_CODE (reg2) == SUBREG)
reg2 = SUBREG_REG (reg2); reg2 = SUBREG_REG (reg2);
if (rtx_equal_p (reg2, reg)) if (rtx_equal_p (reg2, reg))
{
if (reload_inherited[k] || reload_override_in[k] || k == j) if (reload_inherited[k] || reload_override_in[k] || k == j)
{ {
n_inherited++; n_inherited++;
...@@ -7841,6 +7842,7 @@ delete_output_reload (insn, j, last_reload_reg) ...@@ -7841,6 +7842,7 @@ delete_output_reload (insn, j, last_reload_reg)
else else
return; return;
} }
}
n_occurrences = count_occurrences (PATTERN (insn), reg); n_occurrences = count_occurrences (PATTERN (insn), reg);
if (substed) if (substed)
n_occurrences += count_occurrences (PATTERN (insn), substed); n_occurrences += count_occurrences (PATTERN (insn), substed);
......
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