aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2007-02-08 16:55:43 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2007-02-08 11:55:43 -0500
commitd37d06fef83c5f8355fa327d5fa0ff25cd31bb77 (patch)
tree462b7ce003c31e7ef7c5f0d111647eb55bddfdfb /gcc/tree-ssa-structalias.c
parente35a0e6476c15c34df002f698dbfbbcc44338238 (diff)
downloadgcc-d37d06fef83c5f8355fa327d5fa0ff25cd31bb77.zip
gcc-d37d06fef83c5f8355fa327d5fa0ff25cd31bb77.tar.gz
gcc-d37d06fef83c5f8355fa327d5fa0ff25cd31bb77.tar.bz2
re PR tree-optimization/30562 (remove unused variable is removing a referenced variable (in STORED_SYMS or LOADED_SYMS))
PR 30562 * tree-flow.h (struct var_ann_d): Remove field 'is_used'. Update all users. * tree-ssa-alias.c (compute_is_aliased): Remove. Update all users. (init_alias_info): * tree-ssa-live.c (remove_unused_locals): Do not remove TREE_ADDRESSABLE variables. * tree-ssa-structalias.c (compute_points_to_sets): Tidy. * tree-ssa-operands.c (add_virtual_operand): Remove argument FOR_CLOBBER. Update all users. If VAR has an associated alias set, add a virtual operand for it if no alias is found to conflict with the memory reference. From-SVN: r121715
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 238e7f4..e884a65 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -4663,6 +4663,7 @@ compute_points_to_sets (struct alias_info *ai)
if (is_gimple_reg (PHI_RESULT (phi)))
{
find_func_aliases (phi);
+
/* Update various related attributes like escaped
addresses, pointer dereferences for loads and stores.
This is used when creating name tags and alias