From 441fd442d26dedf421566a07827125114558be52 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 27 Nov 2018 08:22:01 -0700 Subject: [PATCH] microblaze.c (microblaze_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. From-SVN: r266511 --- gcc/ChangeLog | 6 ++++++ gcc/config/microblaze/microblaze.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ada9096aaf..4be85e3c366 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-27 Jeff Law + + * 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 * doc/md.texi (xorsign): Document it. diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c index 06aa50e2556..6c4a62c3113 100644 --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -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 -- 2.30.2