diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-01 09:07:17 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-01 09:07:17 +0000 |
commit | 8e4c4d3bf16fd401c7b2715d13f5bbc3505da172 (patch) | |
tree | 52ed878bcfb4c2023c1cf9eea40a00902d2eb7b6 /gcc/tree-ssa-alias.c | |
parent | 18495813b67b4b1c1f917d9e9ab88a0d48061068 (diff) | |
download | gcc-8e4c4d3bf16fd401c7b2715d13f5bbc3505da172.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128012 138bc75d-0d04-0410-961f-82ee72b054a4
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 2dc23513af9..52ca86b48df 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); |