re PR middle-end/51782 (-ftree-sra: Missing address-space information leads to wrong)
authorRichard Guenther <rguenther@suse.de>
Tue, 17 Jan 2012 14:52:57 +0000 (14:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 17 Jan 2012 14:52:57 +0000 (14:52 +0000)
commite831c1e8a6dc9f439e7269a741b6891f441880c4
treedf207b909c37336f1bf48d3e70711b0078456b11
parenta6d10e80119b8dc77f7e8d791cbd0546a4b0aa22
re PR middle-end/51782 (-ftree-sra: Missing address-space information leads to wrong)

2012-01-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/51782
* expr.c (expand_assignment): Take address-space information
from the address operand of MEM_REF and TARGET_MEM_REF.
(expand_expr_real_1): Likewise.

From-SVN: r183249
gcc/ChangeLog
gcc/expr.c