mirror of git://gcc.gnu.org/git/gcc.git
reload1.c (choose_reload_regs): Set reload_spill_index for regs chosen during find_reloads.
* reload1.c (choose_reload_regs): Set reload_spill_index for regs chosen during find_reloads. From-SVN: r126415
This commit is contained in:
parent
de8b1dca2f
commit
374d961c0d
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-07-06 Bernd Schmidt <bernd.schmidt@analog.com>
|
||||||
|
|
||||||
|
* reload1.c (choose_reload_regs): Set reload_spill_index for regs
|
||||||
|
chosen during find_reloads.
|
||||||
|
|
||||||
2007-07-06 Richard Guenther <rguenther@suse.de>
|
2007-07-06 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* gimplify.c (gimplify_call_expr): Prefer DECL_ARGUMENTS over
|
* gimplify.c (gimplify_call_expr): Prefer DECL_ARGUMENTS over
|
||||||
|
|
|
||||||
|
|
@ -5633,7 +5633,14 @@ choose_reload_regs (struct insn_chain *chain)
|
||||||
for (j = 0; j < n_reloads; j++)
|
for (j = 0; j < n_reloads; j++)
|
||||||
{
|
{
|
||||||
reload_order[j] = j;
|
reload_order[j] = j;
|
||||||
reload_spill_index[j] = -1;
|
if (rld[j].reg_rtx != NULL_RTX)
|
||||||
|
{
|
||||||
|
gcc_assert (REG_P (rld[j].reg_rtx)
|
||||||
|
&& HARD_REGISTER_P (rld[j].reg_rtx));
|
||||||
|
reload_spill_index[j] = REGNO (rld[j].reg_rtx);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
reload_spill_index[j] = -1;
|
||||||
|
|
||||||
if (rld[j].nregs > 1)
|
if (rld[j].nregs > 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue