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)
* final.c (cleanup_subreg_operands): New function.
......
......@@ -7827,19 +7827,21 @@ delete_output_reload (insn, j, last_reload_reg)
while (GET_CODE (reg2) == SUBREG)
reg2 = SUBREG_REG (reg2);
if (rtx_equal_p (reg2, reg))
if (reload_inherited[k] || reload_override_in[k] || k == j)
{
n_inherited++;
reg2 = reload_out_reg[k];
if (! reg2)
continue;
while (GET_CODE (reg2) == SUBREG)
reg2 = XEXP (reg2, 0);
if (rtx_equal_p (reg2, reg))
{
if (reload_inherited[k] || reload_override_in[k] || k == j)
{
n_inherited++;
}
else
return;
reg2 = reload_out_reg[k];
if (! reg2)
continue;
while (GET_CODE (reg2) == SUBREG)
reg2 = XEXP (reg2, 0);
if (rtx_equal_p (reg2, reg))
n_inherited++;
}
else
return;
}
}
n_occurrences = count_occurrences (PATTERN (insn), reg);
if (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