]> gcc.gnu.org Git - gcc.git/commitdiff
riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN in call to move_by_pieces.
authorJeff Law <law@redhat.com>
Tue, 27 Nov 2018 15:34:10 +0000 (08:34 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 27 Nov 2018 15:34:10 +0000 (08:34 -0700)
* config/riscv/riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN
in call to move_by_pieces.

* config/sh/sh-mem.c (expand_block_move): Use RETURN_BEGIN in call
to move_by_pieces.

From-SVN: r266514

gcc/ChangeLog
gcc/config/riscv/riscv.c
gcc/config/sh/sh-mem.cc

index fe8f6dc6ad79c04ae78e5fc6bf0869f53a1e1d09..96215ee5cd79465142d1296dfc523d966e37677b 100644 (file)
@@ -1,5 +1,11 @@
 2018-11-27  Jeff Law  <law@redhat.com>
 
+       * config/riscv/riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN
+       in call to move_by_pieces.
+
+       * config/sh/sh-mem.c (expand_block_move): Use RETURN_BEGIN in call
+       to move_by_pieces.
+
        * config/lm32/lm32.c (lm32_block_move_inline): Use RETURN_BEGIN in
        call to move_by_pieces.
 
index 47d0b6e849e25d51b9f5a728a4bf51dd1d79935e..7c1319e36de20a6223fbe5d2b76ad5b23a24c51f 100644 (file)
@@ -2882,7 +2882,7 @@ riscv_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);
     }
 }
 
index efa958e7939c1b0426c648fba8ba37c9a1088a97..113cb8e04cde3b2c43575ffda39a33ecac4d103a 100644 (file)
@@ -91,7 +91,7 @@ expand_block_move (rtx *operands)
        move_by_pieces (adjust_address (dest, BLKmode, copied),
                        adjust_automodify_address (src, BLKmode,
                                                   src_addr, copied),
-                       bytes - copied, align, 0);
+                       bytes - copied, align, RETURN_BEGIN);
 
       return true;
     }
This page took 0.106715 seconds and 5 git commands to generate.