aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2018-11-27 08:26:44 -0700
committerJeff Law <law@gcc.gnu.org>2018-11-27 08:26:44 -0700
commit5930367dbc09362ebb8ec1d55b51312fa1b7a025 (patch)
tree5537019c0302e223d3f728663c2df27b9d1fd9a1
parent441fd442d26dedf421566a07827125114558be52 (diff)
downloadgcc-5930367dbc09362ebb8ec1d55b51312fa1b7a025.zip
gcc-5930367dbc09362ebb8ec1d55b51312fa1b7a025.tar.gz
gcc-5930367dbc09362ebb8ec1d55b51312fa1b7a025.tar.bz2
mips.c (mips_block_move_straight): Use RETURN_BEGIN in call to move_by_pieces.
* 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
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4be85e3..a6e8729 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 17a2a66..09b2ae7 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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);
}
}