re PR tree-optimization/30562 (remove unused variable is removing a referenced variab...
authorDiego Novillo <dnovillo@redhat.com>
Thu, 8 Feb 2007 16:55:43 +0000 (16:55 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 8 Feb 2007 16:55:43 +0000 (11:55 -0500)
commitd37d06fef83c5f8355fa327d5fa0ff25cd31bb77
tree462b7ce003c31e7ef7c5f0d111647eb55bddfdfb
parente35a0e6476c15c34df002f698dbfbbcc44338238
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
gcc/ChangeLog
gcc/tree-dfa.c
gcc/tree-flow.h
gcc/tree-ssa-alias.c
gcc/tree-ssa-live.c
gcc/tree-ssa-operands.c
gcc/tree-ssa-structalias.c
gcc/tree-ssa.c