mips.c (mips_block_move_straight): Use RETURN_BEGIN in call to move_by_pieces.
authorJeff Law <law@redhat.com>
Tue, 27 Nov 2018 15:26:44 +0000 (08:26 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 27 Nov 2018 15:26:44 +0000 (08:26 -0700)
* config/mips/mips.c (mips_block_move_straight): Use RETURN_BEGIN
in call to move_by_pieces.

2018-11-27  Tamar Christina  <tamar.christina@arm.com>

From-SVN: r266512

gcc/ChangeLog
gcc/config/mips/mips.c

index 4be85e3..a6e8729 100644 (file)
@@ -1,5 +1,8 @@
 2018-11-27  Jeff Law  <law@redhat.com>
 
+       * config/mips/mips.c (mips_block_move_straight): Use RETURN_BEGIN
+       in call to move_by_pieces.
+
        * config/microblaze/microblaze.c (microblaze_block_move_straight): Use
        RETURN_BEGIN in call to move_by_pieces.
        (microblaze_expand_block_move): Likewise.
index 17a2a66..09b2ae7 100644 (file)
@@ -8064,7 +8064,7 @@ mips_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);
     }
 }