summaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr.c
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2012-10-27 14:03:10 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2012-10-27 14:03:10 +0000
commit4c7b9b1cb888faa807e5049103fa21bd60e99083 (patch)
treea30ff10f0d27bc965212149ba802eb42422f0b94 /gcc/config/avr/avr.c
parent6af1a779f79bda60d6ea6eab1fc02804d3cf79bf (diff)
downloadgcc-4c7b9b1cb888faa807e5049103fa21bd60e99083.tar.gz
re PR target/55034 (avr.c:2877:7: error: variable ‘regno_dest’ set but not used)
PR target/55034 * config/avr/avr.c (avr_out_lpm): Remove unused regno_dest. From-SVN: r192878
Diffstat (limited to 'gcc/config/avr/avr.c')
-rw-r--r--gcc/config/avr/avr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 9ae52663668..3d1a599265f 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -2874,7 +2874,6 @@ avr_out_lpm (rtx insn, rtx *op, int *plen)
rtx src = SET_SRC (single_set (insn));
rtx addr;
int n_bytes = GET_MODE_SIZE (GET_MODE (dest));
- int regno_dest;
int segment;
RTX_CODE code;
addr_space_t as = MEM_ADDR_SPACE (src);
@@ -2903,8 +2902,6 @@ avr_out_lpm (rtx insn, rtx *op, int *plen)
xop[5] = tmp_reg_rtx;
xop[6] = XEXP (rampz_rtx, 0);
- regno_dest = REGNO (dest);
-
segment = avr_addrspace[as].segment;
/* Set RAMPZ as needed. */