From: John David Anglin Date: Mon, 17 Sep 2007 02:13:23 +0000 (+0000) Subject: re PR middle-end/33273 (FAIL: 27_io/basic_istream/ignore/char/1.cc (test for excess... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b62a2e153492f5b8f7827ede61e1494785f14430;p=gcc.git re PR middle-end/33273 (FAIL: 27_io/basic_istream/ignore/char/1.cc (test for excess errors)) PR middle-end/33273 * expr.c (store_expr): Call adjust_address to change mode of dest_mem to BLKmode. From-SVN: r128537 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60bd52db87f..1239d63c2ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-09-16 John David Anglin + + PR middle-end/33273 + * expr.c (store_expr): Call adjust_address to change mode of dest_mem + to BLKmode. + 2007-09-16 Richard Sandiford * dse.c (find_shift_sequence): Allow word as well as subword shifts. diff --git a/gcc/expr.c b/gcc/expr.c index 554d72a38a9..93028108c48 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4541,7 +4541,8 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal) MEM_ALIGN (target), false, exp_len > str_copy_len ? 1 : 0); if (exp_len > str_copy_len) - clear_storage (dest_mem, GEN_INT (exp_len - str_copy_len), + clear_storage (adjust_address (dest_mem, BLKmode, 0), + GEN_INT (exp_len - str_copy_len), BLOCK_OP_NORMAL); return NULL_RTX; }