reload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used.
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: r30461
This commit is contained in:
parent
eb3921e89a
commit
dc8842bf9b
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/arm/arm-protos.h: New file: Prototypes for functions
|
||||
|
@ -5307,6 +5307,13 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user