* config/avr/avr.c (avr_out_movhi_mr_r_xmega): Use base
to test for unusedness in st X addressing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184559
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-02-24 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/52261
+ * config/avr/avr.c (avr_out_movhi_mr_r_xmega): Use base
+ to test for unusedness in st X addressing.
+
2012-02-24 Richard Guenther <rguenther@suse.de>
PR middle-end/52361
else
avr_asm_len ("st X+,%A1" CR_TAB
"st X,%B1", op, plen, -2);
-
- return reg_unused_after (insn, src)
+
+ return reg_unused_after (insn, base)
? ""
: avr_asm_len ("sbiw r26,1", op, plen, 1);
}