aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2012-03-12 17:35:43 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2012-03-12 17:35:43 +0000
commit2f986dce2c1dd37ac86ae4da1c0e51c9b516858a (patch)
tree7e6f541dee5f26fe14463832ae418555dccb41cb /gcc
parent79eeab23486b56d4ba004a609b7f10ae89b7300a (diff)
downloadgcc-2f986dce2c1dd37ac86ae4da1c0e51c9b516858a.zip
gcc-2f986dce2c1dd37ac86ae4da1c0e51c9b516858a.tar.gz
gcc-2f986dce2c1dd37ac86ae4da1c0e51c9b516858a.tar.bz2
re PR rtl-optimization/52148 (ICE: in spill_failure, at reload1.c:2120)
PR target/52148 * config/avr/avr.c (avr_out_movmem): Fix typo in output template for the case ADDR_SPACE_FLASH and AVR_HAVE_LPMX introduced in r184615 from 2012-02-28. From-SVN: r185253
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/avr/avr.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86287d1..fa8cd05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-12 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/52148
+ * config/avr/avr.c (avr_out_movmem): Fix typo in output template
+ for the case ADDR_SPACE_FLASH and AVR_HAVE_LPMX introduced in
+ r184615 from 2012-02-28.
+
2012-03-12 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_gen_tls_global_dynamic_64): New.
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index e52c5d8..a006ff7 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -9924,7 +9924,7 @@ avr_out_movmem (rtx insn ATTRIBUTE_UNUSED, rtx *op, int *plen)
case ADDR_SPACE_FLASH:
if (AVR_HAVE_LPMX)
- avr_asm_len ("lpm %2,%Z+", xop, plen, 1);
+ avr_asm_len ("lpm %2,Z+", xop, plen, 1);
else
avr_asm_len ("lpm" CR_TAB
"adiw r30,1", xop, plen, 2);