aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-04-25 15:39:39 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-04-25 15:39:39 +0000
commitb34bfeb1979da5a970ef9ac5213178d67f269dbb (patch)
treeda1e9d7c746d8d6267957281bb1b5b53ac68dad0 /gcc/expr.c
parent9bafe5a81e42406b86a65ef14b011ed9acc96c5d (diff)
parentb16f214775619dd850e724a0630792da38ba3e40 (diff)
downloadgcc-b34bfeb1979da5a970ef9ac5213178d67f269dbb.zip
gcc-b34bfeb1979da5a970ef9ac5213178d67f269dbb.tar.gz
gcc-b34bfeb1979da5a970ef9ac5213178d67f269dbb.tar.bz2
Merge from trunk revision 270573.
From-SVN: r270577
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 9ff5e5f..fa15b7e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -5658,7 +5658,8 @@ store_expr (tree exp, rtx target, int call_param_p,
dest_mem = store_by_pieces (target, str_copy_len, string_cst_read_str,
(void *) str, MEM_ALIGN (target), false,
RETURN_END);
- clear_storage (adjust_address (dest_mem, BLKmode, 0),
+ clear_storage (adjust_address_1 (dest_mem, BLKmode, 0, 1, 1, 0,
+ exp_len - str_copy_len),
GEN_INT (exp_len - str_copy_len), BLOCK_OP_NORMAL);
return NULL_RTX;
}