mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 20:50:27 +08:00
reload1.c (reload_reg_free_before_p): Hack.
* reload1.c (reload_reg_free_before_p): Hack. Return 0 if EQUIV is nonzero. This is temporary! From-SVN: r23174
This commit is contained in:
parent
495e6ebb40
commit
b1fc873cc2
@ -11,6 +11,9 @@ Mon Oct 19 10:45:40 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
|
||||
|
||||
Mon Oct 19 10:28:15 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* reload1.c (reload_reg_free_before_p): Hack. Return 0 if EQUIV
|
||||
is nonzero. This is temporary!
|
||||
|
||||
* sched.c (update_flow_info): Handle death notes made invalid by
|
||||
instruction splitting. Partially reverts Oct 15, 1998 patch.
|
||||
* haifa-sched.c (update_flow_info): Likewise.
|
||||
|
@ -5044,6 +5044,19 @@ reload_reg_free_before_p (regno, opnum, type, equiv)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* The code to handle EQUIV below is wrong.
|
||||
|
||||
If we wnat to know if a value in a particular reload register is available
|
||||
at a particular point in time during reloading, we must check *all*
|
||||
prior reloads to see if they clobber the value.
|
||||
|
||||
Note this is significantly different from determining when a register is
|
||||
free for usage in a reload!
|
||||
|
||||
This change is temporary. It will go away. */
|
||||
if (equiv)
|
||||
return 0;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case RELOAD_FOR_OTHER_ADDRESS:
|
||||
|
Loading…
Reference in New Issue
Block a user