reload1.c (choose_reload_regs): Fix typo in Oct 17 change.

* reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
        (emit_reload_insns): Ensure that when we set reg_reloaded_valid for
        any hard reg, reg_reloaded_dead contains valid data.

From-SVN: r23440
This commit is contained in:
Bernd Schmidt 1998-10-29 22:58:05 +00:00 committed by Jeff Law
parent 24c659840f
commit 00f9f1bc15
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Thu Oct 29 23:55:43 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
(emit_reload_insns): Ensure that when we set reg_reloaded_valid for
any hard reg, reg_reloaded_dead contains valid data.
Thu Oct 29 22:30:54 1998 Marcus Meissner <Marcus.Meissner@informatik.uni-erlangen.de>
* i386.c (i386_valid_type_attribute_p): Return nonzero for mismatched

View File

@ -5903,7 +5903,7 @@ choose_reload_regs (chain)
if (i1 != n_earlyclobbers
/* Don't use it if we'd clobber a pseudo reg. */
|| (! TEST_HARD_REG_BIT (reg_used_by_pseudo, i)
|| (TEST_HARD_REG_BIT (reg_used_by_pseudo, i)
&& reload_out[r]
&& ! TEST_HARD_REG_BIT (reg_reloaded_dead, i))
/* Don't really use the inherited spill reg
@ -7551,6 +7551,7 @@ emit_reload_insns (chain)
spill_reg_stored_to[src_regno + nr] = out;
reg_reloaded_contents[src_regno + nr] = nregno;
reg_reloaded_insn[src_regno + nr] = store_insn;
CLEAR_HARD_REG_BIT (reg_reloaded_dead, src_regno + nr);
SET_HARD_REG_BIT (reg_reloaded_valid, src_regno + nr);
SET_HARD_REG_BIT (reg_is_output_reload, src_regno + nr);
if (note)