This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Release RTL bodies after compilation (sometimes)


Jan Hubicka wrote:

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


OK.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]