r230028 - in /trunk/gcc: ChangeLog ipa-inline-a...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Mon Nov 9 15:47:00 GMT 2015


Author: marxin
Date: Mon Nov  9 15:47:01 2015
New Revision: 230028

URL: https://gcc.gnu.org/viewcvs?rev=230028&root=gcc&view=rev
Log:
Fix memory leaks in IPA.

	* ipa-inline-analysis.c (estimate_function_body_sizes): Call
	body_info release function.
	* ipa-prop.c (ipa_release_body_info): New function.
	(ipa_analyze_node): Call the function.
	(ipa_node_params::~ipa_node_params): Release known_csts.
	* ipa-prop.h (ipa_release_body_info): Declare.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline-analysis.c
    trunk/gcc/ipa-prop.c
    trunk/gcc/ipa-prop.h



More information about the Gcc-cvs mailing list