(insert_save_restore): Correct test for

determining whether multiple registers can be saved.

From-SVN: r2042
This commit is contained in:
Richard Stallman 1992-09-03 07:13:23 +00:00
parent 960e4c1cea
commit 9233f8ce48
1 changed files with 3 additions and 3 deletions

View File

@ -686,9 +686,9 @@ insert_save_restore (insn, save_p, regno, insn_mode, maxrestore)
if (regno_save_mem[regno][i] != 0)
for (j = 0; j < i; j++)
{
if (! call_used_regs[regno + j] && call_fixed_regs[regno + j]
&& ! TEST_HARD_REG_BIT (hard_regs_live, regno + j)
&& TEST_HARD_REG_BIT (hard_regs_saved, regno + j))
if (! call_used_regs[regno + j] || call_fixed_regs[regno + j]
|| ! TEST_HARD_REG_BIT (hard_regs_live, regno + j)
|| TEST_HARD_REG_BIT (hard_regs_saved, regno + j))
ok = 0;
}
else