diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-08 16:34:48 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-08 16:34:48 +0000 |
commit | 05fb844e946b013d8c5c3d9b4e5e789862ec14e5 (patch) | |
tree | b44d278762551161178f033b428dfde8fea6c404 /gcc/tree-ssa.c | |
parent | 1856391fea2dc4da2e7a65cee001a697e9ae30cd (diff) | |
download | gcc-05fb844e946b013d8c5c3d9b4e5e789862ec14e5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index d78a944209e..15af7f37210 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -848,6 +848,7 @@ delete_tree_ssa (void) set_phi_nodes (bb, NULL); } + delete_old_heap_vars (); /* Remove annotations from every referenced variable. */ FOR_EACH_REFERENCED_VAR (var, rvi) { |