diff options
author | Richard Guenther <rguenther@suse.de> | 2007-09-01 09:07:17 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-09-01 09:07:17 +0000 |
commit | b65e51a81fd877211cacb75bc07b56dcb45444b4 (patch) | |
tree | 52ed878bcfb4c2023c1cf9eea40a00902d2eb7b6 /gcc/tree-ssa-alias.c | |
parent | 9822c455b907da9898eb5ea0a467ffe4421003bd (diff) | |
download | gcc-b65e51a81fd877211cacb75bc07b56dcb45444b4.zip gcc-b65e51a81fd877211cacb75bc07b56dcb45444b4.tar.gz gcc-b65e51a81fd877211cacb75bc07b56dcb45444b4.tar.bz2 |
tree-ssa-alias.c (create_name_tags): Use TYPE_VOLATILE instead of TREE_THIS_VOLATILE.
2007-09-01 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.c (create_name_tags): Use TYPE_VOLATILE
instead of TREE_THIS_VOLATILE.
* tree-ssa-operands.c (add_virtual_operand): Do not set
has_volatile_ops. Do not check s_ann for NULL.
(get_indirect_ref_operands): Likewise.
(get_expr_operands): Likewise. For all reference trees
set has_volatile_ops based on TREE_THIS_VOLATILE. Also
check base of reference for TREE_THIS_VOLATILE.
From-SVN: r128012
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 2dc2351..52ca86b 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -2216,7 +2216,7 @@ create_name_tags (void) /* Inherit volatility from the pointed-to type. */ TREE_THIS_VOLATILE (pi->name_mem_tag) - |= TREE_THIS_VOLATILE (TREE_TYPE (TREE_TYPE (ptr))); + |= TYPE_VOLATILE (TREE_TYPE (TREE_TYPE (ptr))); /* Mark the new name tag for renaming. */ mark_sym_for_renaming (pi->name_mem_tag); |