reload1.c (emit_input_reload_insns): Restore old behaviour wrt.

* reload1.c (emit_input_reload_insns): Restore old behaviour
	wrt. 'special' reloads.

From-SVN: r31081
This commit is contained in:
J"orn Rennecke 1999-12-23 23:17:20 +00:00 committed by Joern Rennecke
parent 7e28988a04
commit 07875628ee
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (emit_input_reload_insns): Restore old behaviour
wrt. 'special' reloads.
1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on

View file

@ -6147,7 +6147,7 @@ emit_input_reload_insns (chain, rl, old, j)
reg_renumber[REGNO (old)] = REGNO (rl->reg_rtx);
alter_reg (REGNO (old), -1);
}
return;
special = 1;
}
}
@ -6165,7 +6165,7 @@ emit_input_reload_insns (chain, rl, old, j)
because we don't make such reloads when both the input and
output need secondary reload registers. */
if (rl->secondary_in_reload >= 0)
if (! special && rl->secondary_in_reload >= 0)
{
rtx second_reload_reg = 0;
int secondary_reload = rl->secondary_in_reload;
@ -6283,7 +6283,7 @@ emit_input_reload_insns (chain, rl, old, j)
{
emit_insn (GEN_FCN (icode) (reloadreg, real_oldequiv,
second_reload_reg));
return;
special = 1;
}
else
{
@ -6312,7 +6312,7 @@ emit_input_reload_insns (chain, rl, old, j)
}
#endif
if (! rtx_equal_p (reloadreg, oldequiv))
if (! special && ! rtx_equal_p (reloadreg, oldequiv))
{
rtx real_oldequiv = oldequiv;