diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1998-05-12 14:25:14 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1998-05-12 15:25:14 +0100 |
commit | 4d3eb414211002db7af3142840b76c1f04f1b4c9 (patch) | |
tree | 18214cdb252412f503db19157c9040ecc26c0182 /gcc/reload1.c | |
parent | b10c896640a3bba08e6de0e7b7a7cbcc7744301d (diff) | |
download | gcc-4d3eb414211002db7af3142840b76c1f04f1b4c9.zip gcc-4d3eb414211002db7af3142840b76c1f04f1b4c9.tar.gz gcc-4d3eb414211002db7af3142840b76c1f04f1b4c9.tar.bz2 |
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
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 65e5d65..fe0c7b2 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -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; } } } |