diff options
author | Richard Guenther <rguenther@suse.de> | 2012-01-27 10:54:51 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-01-27 10:54:51 +0000 |
commit | 45c8342998c3c431a06366f37c48be9082de8906 (patch) | |
tree | b599001dbe6f3f81d8368b34ad45ce0bb017a6c0 /gcc/expr.c | |
parent | 10c7477699e2d8906204293e15c64b34d1e62231 (diff) | |
download | gcc-45c8342998c3c431a06366f37c48be9082de8906.zip gcc-45c8342998c3c431a06366f37c48be9082de8906.tar.gz gcc-45c8342998c3c431a06366f37c48be9082de8906.tar.bz2 |
re PR middle-end/51959 (ICE in set_mem_alias_set, at emit-rtl.c:1884)
2012-01-27 Richard Guenther <rguenther@suse.de>
PR middle-end/51959
* expr.c (store_field): Use the alias-set of the scratch memory
for storing to it.
* g++.dg/torture/pr51959.C: New testcase.
From-SVN: r183616
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6299,7 +6299,7 @@ store_field (rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, store_field (blk_object, bitsize, bitpos, bitregion_start, bitregion_end, - mode, exp, type, alias_set, nontemporal); + mode, exp, type, MEM_ALIAS_SET (blk_object), nontemporal); emit_move_insn (target, object); |