diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-03 16:20:31 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-12-03 16:20:31 -0800 |
commit | 2039d7aaea51db1bcfabe7b8f7b3fda6f198f605 (patch) | |
tree | c955f6935acd1dde2f9a2c0e759835c083b1cd04 /gcc/expr.c | |
parent | 1b68ae543cfdc2819d365dc59c759e67e34ff4a3 (diff) | |
download | gcc-2039d7aaea51db1bcfabe7b8f7b3fda6f198f605.zip gcc-2039d7aaea51db1bcfabe7b8f7b3fda6f198f605.tar.gz gcc-2039d7aaea51db1bcfabe7b8f7b3fda6f198f605.tar.bz2 |
alias.c (component_uses_parent_alias_set): Rename from can_address_p.
* alias.c (component_uses_parent_alias_set): Rename from
can_address_p. Return bool. Reverse the sense of the result.
Reinstate the check for alias set zero.
(get_alias_set): Update to match.
* alias.h (component_uses_parent_alias_set): Likewise.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* expr.c (expand_assignment): Likewise.
* expr.h: Remove commented out prototypes that were moved to alias.h.
From-SVN: r91712
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3810,8 +3810,7 @@ expand_assignment (tree to, tree from) done for MEM. Also set MEM_KEEP_ALIAS_SET_P if needed. */ if (volatilep) MEM_VOLATILE_P (to_rtx) = 1; - - if (!can_address_p (to)) + if (component_uses_parent_alias_set (to)) MEM_KEEP_ALIAS_SET_P (to_rtx) = 1; } |