On Thu, Sep 02, 2004 at 08:48:49PM +0200, Jan Hubicka wrote:
2004-09-01 Jan Hubicka <jh@suse.cz>
* cfg.c (fre_edge): Use ggc_free.
(expunge_block): Use ggc_free.
* cfglayout.c (cfg_layout_initialize): Free RBI info.
* tree-ssa-dce.c (remove_dead_stmt): Free STMT annotation.
* tree-ssa.c (delete_tree_ssa): Free annotations.
The changelog doesn't match the patch. Changed is:
cfg.c (free_edge, expunge_block)
passes.c (rest_of_clean_state)
tree-ssa.c (delete_tree_ssa)
tree-ssanames.c (release_defs)
instead.
Oops, I've broke out the patch twice from larger set of changes and
forgot to check the changelog. Here is fixed one.
* cfg.c (fre_edge): Use ggc_free.
(expunge_block): Use ggc_free.
* passes.c (rest_of_clean_state): Free after compilation.
* tree-ssa.c (delete_tree_ssa): Free annotations; call release_defs
* tree-ssanames.c (release_defs): Ignore non-SSA_NAME arguments.
Thanks,
Honza