aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-04-12 22:55:28 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-04-12 22:55:28 +0000
commitd96f49bf6479f8f61bb904bde6fcaabce69d1b15 (patch)
tree67e0521f1ea7b116a6b340efd5a11541bd856f35 /gcc/tree-ssa-structalias.c
parent86066f9bd4c6ea678e843eea7bad9a260d25e22a (diff)
downloadgcc-d96f49bf6479f8f61bb904bde6fcaabce69d1b15.zip
gcc-d96f49bf6479f8f61bb904bde6fcaabce69d1b15.tar.gz
gcc-d96f49bf6479f8f61bb904bde6fcaabce69d1b15.tar.bz2
tree-ssa-alias.c (set_initial_properties, [...]): Use VEC instead of VARRAY.
* tree-ssa-alias.c (set_initial_properties, init_alias_info, delete_alias_info, compute_flow_sensitive_aliasing, group_aliases): Use VEC instead of VARRAY. * tree-ssa-structalias.c (update_alias_info): Likewise. * tree-ssa-structalias.h (alias_info): Change the type of processed_ptrs to VEC(tree,heap) *. From-SVN: r112903
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 990398c..7a00de4 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -3041,7 +3041,7 @@ update_alias_info (tree stmt, struct alias_info *ai)
if (!TEST_BIT (ai->ssa_names_visited, SSA_NAME_VERSION (op)))
{
SET_BIT (ai->ssa_names_visited, SSA_NAME_VERSION (op));
- VARRAY_PUSH_TREE (ai->processed_ptrs, op);
+ VEC_safe_push (tree, heap, ai->processed_ptrs, op);
}
/* If STMT is a PHI node, then it will not have pointer