summaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2018-11-27 08:34:10 -0700
committerJeff Law <law@gcc.gnu.org>2018-11-27 08:34:10 -0700
commitcece89d0ddb8b1181f15caa0ef44cd2aa89ec957 (patch)
tree6d5401505a1d08be53ce857b5443372d2bfdc05d /gcc/config/sh
parent5605f2e1334d432a8482a999383fac98a3d116d2 (diff)
riscv (riscv_block_mvoe_straight): Use RETURN_BEGIN in call to move_by_pieces.
* 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
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh-mem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh-mem.cc b/gcc/config/sh/sh-mem.cc
index efa958e7939..113cb8e04cd 100644
--- a/gcc/config/sh/sh-mem.cc
+++ b/gcc/config/sh/sh-mem.cc
@@ -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;
}