mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 15:07:26 +08:00
reload1.c (reload): Fix check for USEs to use code of pattern.
* reload1.c (reload): Fix check for USEs to use code of pattern. (choose_reload_regs): Remove dead variable use_insn. From-SVN: r19702
This commit is contained in:
parent
b10c896640
commit
4d3eb41421
@ -1,3 +1,8 @@
|
||||
Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* reload1.c (reload): Fix check for USEs to use code of pattern.
|
||||
(choose_reload_regs): Remove dead variable use_insn.
|
||||
|
||||
Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
|
||||
@ -531,6 +536,7 @@ Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
Don't apply avoid_return_reg logic to USEs.
|
||||
When done, remove USEs that have a REG_EQUAL note on them.
|
||||
(emit_reload_insns): Handle case where we have inherited a MEM.
|
||||
(choose_reload_regs): Likewise.
|
||||
(delete_output_reload): Don't use cannot_omit_stores.
|
||||
|
||||
Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
|
||||
|
@ -2110,7 +2110,7 @@ reload (first, global, dumpfile)
|
||||
{
|
||||
rtx note, next;
|
||||
|
||||
if (GET_CODE (insn) == USE
|
||||
if (GET_CODE (PATTERN (insn)) == USE
|
||||
&& find_reg_note (insn, REG_EQUAL, NULL_RTX))
|
||||
{
|
||||
PUT_CODE (insn, NOTE);
|
||||
@ -5448,7 +5448,7 @@ choose_reload_regs (insn, avoid_return_reg)
|
||||
{
|
||||
register int regno = -1;
|
||||
enum machine_mode mode;
|
||||
rtx in, use_insn = 0;
|
||||
rtx in;
|
||||
|
||||
if (reload_in[r] == 0)
|
||||
;
|
||||
@ -5486,7 +5486,6 @@ choose_reload_regs (insn, avoid_return_reg)
|
||||
{
|
||||
regno = REGNO (XEXP (PATTERN (prev), 0));
|
||||
mode = GET_MODE (reload_in[r]);
|
||||
use_insn = prev;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user