[Bug tree-optimization/30562] [4.3 Regression] remove unused variable is removing a referenced variable (in STORED_SYMS or LOADED_SYMS)
dnovillo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 8 16:56:00 GMT 2007
------- Comment #6 from dnovillo at gcc dot gnu dot org 2007-02-08 16:56 -------
Subject: Bug 30562
Author: dnovillo
Date: Thu Feb 8 16:55:43 2007
New Revision: 121715
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121715
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-dfa.c
trunk/gcc/tree-flow.h
trunk/gcc/tree-ssa-alias.c
trunk/gcc/tree-ssa-live.c
trunk/gcc/tree-ssa-operands.c
trunk/gcc/tree-ssa-structalias.c
trunk/gcc/tree-ssa.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30562
More information about the Gcc-bugs
mailing list