re PR rtl-optimization/52148 (ICE: in spill_failure, at reload1.c:2120)
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 12 Mar 2012 17:35:43 +0000 (17:35 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 12 Mar 2012 17:35:43 +0000 (17:35 +0000)
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

gcc/ChangeLog
gcc/config/avr/avr.c

index 86287d1..fa8cd05 100644 (file)
@@ -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.
index e52c5d8..a006ff7 100644 (file)
@@ -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);