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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/expr.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60bd52d..1239d63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-09-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR middle-end/33273 + * expr.c (store_expr): Call adjust_address to change mode of dest_mem + to BLKmode. + 2007-09-16 Richard Sandiford <rsandifo@nildram.co.uk> * dse.c (find_shift_sequence): Allow word as well as subword shifts. @@ -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; } |