ao_ref_init_from_ptr_and_size (&rhs_ref,
gimple_call_arg (call, 0),
TYPE_SIZE_UNIT (TREE_TYPE (lhs)));
+ /* We cannot make this a known-size access since otherwise
+ we disambiguate against refs to decls that are smaller. */
+ rhs_ref.size = -1;
rhs_ref.ref_alias_set = rhs_ref.base_alias_set
= tbaa_p ? get_deref_alias_set (TREE_TYPE
(gimple_call_arg (call, 1))) : 0;
ao_ref_init_from_ptr_and_size (&lhs_ref, gimple_call_arg (call, 0),
TYPE_SIZE_UNIT (TREE_TYPE (rhs)));
/* We cannot make this a known-size access since otherwise
- we disambiguate against stores to decls that are smaller. */
+ we disambiguate against refs to decls that are smaller. */
lhs_ref.size = -1;
lhs_ref.ref_alias_set = lhs_ref.base_alias_set
= tbaa_p ? get_deref_alias_set