aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2012-11-18 17:31:38 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2012-11-18 17:31:38 +0000
commita787ccc38817dac21d8b09fd180f17028d0ee19b (patch)
tree83179683634ebcdb0a796f5d430da437a6d28e8b /gcc/expr.c
parent3808f68ef811f22a3fd2dc0c8507b9b3e3dadb4e (diff)
downloadgcc-a787ccc38817dac21d8b09fd180f17028d0ee19b.zip
gcc-a787ccc38817dac21d8b09fd180f17028d0ee19b.tar.gz
gcc-a787ccc38817dac21d8b09fd180f17028d0ee19b.tar.bz2
expr.c (expand_assignment): Don't set MEM_KEEP_ALIAS_SET_P here.
gcc/ * expr.c (expand_assignment): Don't set MEM_KEEP_ALIAS_SET_P here. * emit-rtl.c (set_mem_attributes_minus_bitpos): Handle DECL_BIT_FIELDs, using their size instead of the COMPONENT_REF's. From-SVN: r193599
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index d1da390..48e2581 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -4818,8 +4818,6 @@ expand_assignment (tree to, tree from, bool nontemporal)
done for MEM. Also set MEM_KEEP_ALIAS_SET_P if needed. */
if (volatilep)
MEM_VOLATILE_P (to_rtx) = 1;
- if (component_uses_parent_alias_set (to))
- MEM_KEEP_ALIAS_SET_P (to_rtx) = 1;
}
if (optimize_bitfield_assignment_op (bitsize, bitpos,