2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
* reload1.c (choose_reload_regs): When disabling a reload, also
set reload_spill_index to -1.
Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
* reload1.c (reload_reg_free_for_value_p): Don't use a register
that is in reload_reg_used.
From-SVN: r32405
Tue Mar 7 21:41:17 2000 Jeffrey A Law (law@cygnus.com)
+ 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
+ * reload1.c (choose_reload_regs): When disabling a reload, also
+ set reload_spill_index to -1.
+
+ Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
+ * reload1.c (reload_reg_free_for_value_p): Don't use a register
+ that is in reload_reg_used.
+
2000-01-18 Clinton Popetz <cpopetz@cygnus.com>
* loop.c (check_dbra_loop): When checking a loop for
reversability, check the source of any stores to ensure they
int i;
int copy = 0;
+ /* ??? reload_reg_used is abused to hold the registers that are not
+ available as spill registers, including hard registers that are
+ earlyclobbered in asms. As a temporary measure, reject anything
+ in reload_reg_used. */
+ if (TEST_HARD_REG_BIT (reload_reg_used, regno))
+ return 0;
+
if (out == const0_rtx)
{
copy = 1;
clear_reload_reg_in_use (regno, reload_opnum[j],
reload_when_needed[j], reload_mode[j]);
reload_reg_rtx[j] = 0;
+ reload_spill_index[j] = -1;
}
/* Record which pseudos and which spill regs have output reloads. */