diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-09-17 02:13:23 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-09-17 02:13:23 +0000 |
commit | b62a2e153492f5b8f7827ede61e1494785f14430 (patch) | |
tree | 46b4355c272e32b8280f56b2cc7c4dd35c7f11b2 /gcc/expr.c | |
parent | 9317b6af4e7086b49c69a5adfecfc8a7703b743c (diff) | |
download | gcc-b62a2e153492f5b8f7827ede61e1494785f14430.zip gcc-b62a2e153492f5b8f7827ede61e1494785f14430.tar.gz gcc-b62a2e153492f5b8f7827ede61e1494785f14430.tar.bz2 |
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
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |