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 4be85e3c366b9939a83892911c15c45512e043af..a6e8729f370202ebace8003206f536d6896c2587 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 17a2a66956e6aadc2cdb659f8a7d03048725cdc6..09b2ae7219907154c5289a1611eda7cccf7a7bee 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);
     }
 }