diff options
author | Richard Guenther <rguenther@suse.de> | 2011-12-05 14:31:44 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-12-05 14:31:44 +0000 |
commit | 14cd91f923c6977d085287a91b26b32919754047 (patch) | |
tree | 337d4dd6961a88c69b24dda561d596121394e7e4 /gcc/tree-ssa-alias.h | |
parent | 68872bedca22a323d3dafc68c53975a35fde87b2 (diff) | |
download | gcc-14cd91f923c6977d085287a91b26b32919754047.zip gcc-14cd91f923c6977d085287a91b26b32919754047.tar.gz gcc-14cd91f923c6977d085287a91b26b32919754047.tar.bz2 |
tree-ssa-alias.h (struct ao_ref_s): Add volatile_p field.
2011-12-05 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.h (struct ao_ref_s): Add volatile_p field.
* tree-ssa-alias.c (ao_ref_init): Initialize it.
(ao_ref_init_from_ptr_and_size): Likewise.
(refs_may_alias_p_1): Two volatile accesses conflict.
(ref_maybe_used_by_call_p_1): Likewise.
(call_may_clobber_ref_p_1): Likewise.
* tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): Initialize
volatile_p field.
From-SVN: r182009
Diffstat (limited to 'gcc/tree-ssa-alias.h')
-rw-r--r-- | gcc/tree-ssa-alias.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.h b/gcc/tree-ssa-alias.h index 7492123..59f0ebc 100644 --- a/gcc/tree-ssa-alias.h +++ b/gcc/tree-ssa-alias.h @@ -86,6 +86,9 @@ typedef struct ao_ref_s /* The alias set of the base object or -1 if not yet computed. */ alias_set_type base_alias_set; + + /* Whether the memory is considered a volatile access. */ + bool volatile_p; } ao_ref; |