diff mbox

Strenghten early inliner analysis

Message ID 20141230220431.GA12483@kam.mff.cuni.cz
State New
Headers show

Commit Message

Jan Hubicka Dec. 30, 2014, 10:04 p.m. UTC
Hi,
the problem is that we free node params when early analysis is called late
via add_new_function.

Bootstrapped/regtsted x86_64-linux, comitted.

Honza

2014-12-30  Jan Hubicka  <hubicka@ucw.cz>

	* ipa-inline-analysis.c (estimate_function_body_sizes): Do not
	free node params when called late with early=true.
diff mbox

Patch

Index: ipa-inline-analysis.c
===================================================================
--- ipa-inline-analysis.c	(revision 219108)
+++ ipa-inline-analysis.c	(working copy)
@@ -2851,7 +2851,7 @@  estimate_function_body_sizes (struct cgr
     {
       if (!early)
         loop_optimizer_finalize ();
-      else
+      else if (!ipa_edge_args_vector)
 	ipa_free_all_node_params ();
       free_dominance_info (CDI_DOMINATORS);
     }