]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-structalias.c
re PR tree-optimization/23382 (Does not remove the old HEAP virtual variables in...
authorDaniel Berlin <dberlin@dberlin.org>
Tue, 8 Nov 2005 16:34:48 +0000 (16:34 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Tue, 8 Nov 2005 16:34:48 +0000 (16:34 +0000)
commit973162ec9dd144e6637a9fc775c3e9ce308b054c
treeb44d278762551161178f033b428dfde8fea6c404
parente5f51638541b06c1f10707c89a9699419eb77933
re PR tree-optimization/23382 (Does not remove the old HEAP virtual variables in clobbered)

2005-11-08  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/23382

* tree-ssa-alias.c (compute_may_aliases): Call
delete_old_heap_vars.
* tree-dfa.c (referenced_var_remove): New function.
* tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars.
* tree-flow.h (referenced_var_remove): Add prototype.
(delete_old_heap_vars): Ditto.
* tree-ssa-structalias.c (heapvars): New variable.
(oldheapvars): Ditto.
(get_constraint_for): Put heap vars on heapvars list.
(delete_old_heap_vars): New function.

From-SVN: r106643
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23382.c [new file with mode: 0644]
gcc/tree-dfa.c
gcc/tree-flow.h
gcc/tree-ssa-alias.c
gcc/tree-ssa-structalias.c
gcc/tree-ssa.c