microblaze.c (microblaze_block_move_straight): Use RETURN_BEGIN in call to move_by_pi...
authorJeff Law <law@redhat.com>
Tue, 27 Nov 2018 15:22:01 +0000 (08:22 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 27 Nov 2018 15:22:01 +0000 (08:22 -0700)
* config/microblaze/microblaze.c (microblaze_block_move_straight): Use
RETURN_BEGIN in call to move_by_pieces.
(microblaze_expand_block_move): Likewise.

From-SVN: r266511

gcc/ChangeLog
gcc/config/microblaze/microblaze.c

index 9ada9096aafacba2c90c522573119f7db2363fab..4be85e3c366b9939a83892911c15c45512e043af 100644 (file)
@@ -1,3 +1,9 @@
+2018-11-27  Jeff Law  <law@redhat.com>
+
+       * config/microblaze/microblaze.c (microblaze_block_move_straight): Use
+       RETURN_BEGIN in call to move_by_pieces.
+       (microblaze_expand_block_move): Likewise.
+
 2018-11-27  Tamar Christina  <tamar.christina@arm.com>
 
        * doc/md.texi (xorsign): Document it.
index 06aa50e25560eba2bb13a4d165894328bb2e3280..6c4a62c3113a1ce157491bbe8f9980e22d68aad2 100644 (file)
@@ -1180,7 +1180,7 @@ microblaze_block_move_straight (rtx dest, rtx src, HOST_WIDE_INT length)
       src = adjust_address (src, BLKmode, offset);
       dest = adjust_address (dest, BLKmode, offset);
       move_by_pieces (dest, src, length - offset,
-                     MIN (MEM_ALIGN (src), MEM_ALIGN (dest)), 0);
+                     MIN (MEM_ALIGN (src), MEM_ALIGN (dest)), RETURN_BEGIN);
     }
 }
 
@@ -1269,7 +1269,7 @@ microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)
        {
          if (INTVAL (length) <= MAX_MOVE_BYTES)
            {
-             move_by_pieces (dest, src, bytes, align, 0);
+             move_by_pieces (dest, src, bytes, align, RETURN_BEGIN);
              return true;
            }
          else