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-alias.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-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 84c522554b2..539789491b3 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -252,6 +252,8 @@ compute_may_aliases (void) memset (&alias_stats, 0, sizeof (alias_stats)); + delete_old_heap_vars (); + /* Initialize aliasing information. */ ai = init_alias_info (); |