Commit 4d3eb414 by J"orn Rennecke Committed by Joern Rennecke

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
parent b10c8966
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) Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
* pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes. * 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> ...@@ -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. Don't apply avoid_return_reg logic to USEs.
When done, remove USEs that have a REG_EQUAL note on them. When done, remove USEs that have a REG_EQUAL note on them.
(emit_reload_insns): Handle case where we have inherited a MEM. (emit_reload_insns): Handle case where we have inherited a MEM.
(choose_reload_regs): Likewise.
(delete_output_reload): Don't use cannot_omit_stores. (delete_output_reload): Don't use cannot_omit_stores.
Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com> Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
......
...@@ -2110,7 +2110,7 @@ reload (first, global, dumpfile) ...@@ -2110,7 +2110,7 @@ reload (first, global, dumpfile)
{ {
rtx note, next; rtx note, next;
if (GET_CODE (insn) == USE if (GET_CODE (PATTERN (insn)) == USE
&& find_reg_note (insn, REG_EQUAL, NULL_RTX)) && find_reg_note (insn, REG_EQUAL, NULL_RTX))
{ {
PUT_CODE (insn, NOTE); PUT_CODE (insn, NOTE);
...@@ -5448,7 +5448,7 @@ choose_reload_regs (insn, avoid_return_reg) ...@@ -5448,7 +5448,7 @@ choose_reload_regs (insn, avoid_return_reg)
{ {
register int regno = -1; register int regno = -1;
enum machine_mode mode; enum machine_mode mode;
rtx in, use_insn = 0; rtx in;
if (reload_in[r] == 0) if (reload_in[r] == 0)
; ;
...@@ -5486,7 +5486,6 @@ choose_reload_regs (insn, avoid_return_reg) ...@@ -5486,7 +5486,6 @@ choose_reload_regs (insn, avoid_return_reg)
{ {
regno = REGNO (XEXP (PATTERN (prev), 0)); regno = REGNO (XEXP (PATTERN (prev), 0));
mode = GET_MODE (reload_in[r]); mode = GET_MODE (reload_in[r]);
use_insn = prev;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment