mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 21:57:36 +08:00
Fix a reload inheritance problem
From-SVN: r36497
This commit is contained in:
parent
40fc375d0a
commit
5d77a50c77
@ -1,3 +1,8 @@
|
||||
2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
|
||||
|
||||
* reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
|
||||
its entry in spill_reg_store.
|
||||
|
||||
2000-09-18 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
|
||||
|
@ -4017,7 +4017,10 @@ forget_old_reloads_1 (x, ignored, data)
|
||||
reload reg in the current instruction. */
|
||||
if (n_reloads == 0
|
||||
|| ! TEST_HARD_REG_BIT (reg_is_output_reload, regno + i))
|
||||
CLEAR_HARD_REG_BIT (reg_reloaded_valid, regno + i);
|
||||
{
|
||||
CLEAR_HARD_REG_BIT (reg_reloaded_valid, regno + i);
|
||||
spill_reg_store[regno + i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Since value of X has changed,
|
||||
|
Loading…
Reference in New Issue
Block a user