diff options
| author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-27 10:54:51 +0000 |
|---|---|---|
| committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-27 10:54:51 +0000 |
| commit | 3c089259eaf832980bdb46a286182ef77ea75268 (patch) | |
| tree | b599001dbe6f3f81d8368b34ad45ce0bb017a6c0 /gcc/expr.c | |
| parent | 9cb174eb75e6e9ac9c1dc1c3d6161b000930c3f5 (diff) | |
| download | ppe42-gcc-3c089259eaf832980bdb46a286182ef77ea75268.tar.gz ppe42-gcc-3c089259eaf832980bdb46a286182ef77ea75268.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
| -rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 8698f18e1e6..48c3e0a19d5 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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); |

