diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-05-26 15:17:38 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2007-05-26 15:17:38 +0000 |
commit | 5ef1348f3c0f87d70e284a9b2310fe48cf4d10ed (patch) | |
tree | cd3c3a2beb741da228fbbb283b51652a5cc1324a /gcc/tree-ssa-alias.c | |
parent | eb83419390c399dc12a359eae856a5963216a450 (diff) | |
download | gcc-5ef1348f3c0f87d70e284a9b2310fe48cf4d10ed.zip gcc-5ef1348f3c0f87d70e284a9b2310fe48cf4d10ed.tar.gz gcc-5ef1348f3c0f87d70e284a9b2310fe48cf4d10ed.tar.bz2 |
tree-flow.h: Remove the prototype for is_aliased_with.
* tree-flow.h: Remove the prototype for is_aliased_with.
* tree-ssa-alias.c (is_aliased_with): Remove.
From-SVN: r125095
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 2ecad8b..500845f 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -3282,38 +3282,6 @@ may_be_aliased (tree var) return true; } - -/* Given two symbols return TRUE if one is in the alias set of the - other. */ - -bool -is_aliased_with (tree tag, tree sym) -{ - bitmap aliases; - - if (MTAG_P (tag)) - { - aliases = MTAG_ALIASES (tag); - - if (aliases == NULL) - return false; - - return bitmap_bit_p (aliases, DECL_UID (sym)); - } - else - { - gcc_assert (MTAG_P (sym)); - aliases = MTAG_ALIASES (sym); - - if (aliases == NULL) - return false; - - return bitmap_bit_p (aliases, DECL_UID (tag)); - } - - return false; -} - /* The following is based on code in add_stmt_operand to ensure that the same defs/uses/vdefs/vuses will be found after replacing a reference to var (or ARRAY_REF to var) with an INDIRECT_REF to ptr whose value |