diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-09 23:28:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-09 23:28:01 +0000 |
commit | 96ba6770321b15c5dabd6ac721a1e2d257d0473d (patch) | |
tree | 8ef2dd128c31080dac218b7c43d96a8c2b68c98a /gcc/alias.h | |
parent | 7e28e64631c8ab6c4871bda4457bd3d9ba0c77f6 (diff) | |
download | gcc-96ba6770321b15c5dabd6ac721a1e2d257d0473d.tar.gz |
PR ipa/61886
PR middle-end/25140
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Use compare_base_decls
(nonoverlapping_component_refs_of_decl_p): Update sanity check.
(decl_refs_may_alias_p): Use compare_base_decls.
* alias.c: Include cgraph.h
(rtx_equal_for_memref_p): Use rtx_equal_for_memref_p.
(compare_base_decls): New function.
(base_alias_check): Likewise.
(memrefs_conflict_p): Likewise.
(nonoverlapping_memrefs_p): Likewise.
* alias.h (compare_base_decls): Declare.
* gcc.c-torture/execute/alias-2.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231478 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.h')
-rw-r--r-- | gcc/alias.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/alias.h b/gcc/alias.h index 8762effe2f2..45cbb1b60dc 100644 --- a/gcc/alias.h +++ b/gcc/alias.h @@ -36,6 +36,7 @@ extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool); extern void dump_alias_stats_in_alias_c (FILE *s); tree reference_alias_ptr_type (tree); bool alias_ptr_types_compatible_p (tree, tree); +int compare_base_decls (tree, tree); /* This alias set can be used to force a memory to conflict with all other memories, creating a barrier across which no memory reference |