aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-04-29 15:56:12 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-04-29 15:56:12 +0000
commit59e6913ad1743f76ca98421b9b5614caf96a7cf7 (patch)
treed7f4b389f0e4359e979111ba4e01da270894f66c /gcc/tree-ssa-structalias.c
parentc4e82de92ef875c57294b908d8cf185e931d841d (diff)
downloadgcc-59e6913ad1743f76ca98421b9b5614caf96a7cf7.zip
gcc-59e6913ad1743f76ca98421b9b5614caf96a7cf7.tar.gz
gcc-59e6913ad1743f76ca98421b9b5614caf96a7cf7.tar.bz2
tree-ssa-alias.c (finalize_ref_all_pointers): Remove.
2008-04-29 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (finalize_ref_all_pointers): Remove. (compute_may_aliases): Do not call finalize_ref_all_pointers. (compute_flow_insensitive_aliasing): Do not treat PTR_IS_REF_ALL pointers special. (get_smt_for): Likewise. (may_alias_p): Re-structure. (is_escape_site): A ref-all pointer conversion is not an escape site. * tree-ssa-structalias.c (find_what_p_points_to): Do not treat PTR_IS_REF_ALL pointers special. * tree-ssa-structalias.h (struct alias_info): Remove ref_all_symbol_mem_tag field. (PTR_IS_REF_ALL): Remove. From-SVN: r134797
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 9a8afb7..ddcf498 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -4969,17 +4969,9 @@ find_what_p_points_to (tree p)
/* Instead of using pt_anything, we merge in the SMT aliases
for the underlying SMT. In addition, if they could have
- pointed to anything, they could point to global memory.
- But we cannot do that for ref-all pointers because these
- aliases have not been computed yet. */
+ pointed to anything, they could point to global memory. */
if (was_pt_anything)
{
- if (PTR_IS_REF_ALL (p))
- {
- pi->pt_anything = 1;
- return false;
- }
-
merge_smts_into (p, finished_solution);
pi->pt_global_mem = 1;
}