This fixes a wrong loop label in the movmemhi worker for the __memx address
space case.

Ok for trunk?


        PR target/52507
        * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
Index: libgcc/config/avr/lib1funcs.S
--- libgcc/config/avr/lib1funcs.S	(revision 184887)
+++ libgcc/config/avr/lib1funcs.S	(working copy)
@@ -2252,7 +2252,7 @@ DEFUN __movmemx_hi
     ;; and store that Byte to RAM Destination
     st      X+, r0
     sbiw    LOOP, 1
-    brne    0b
+    brne    1b
 ENDF __movmemx_hi

Reply via email to