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  <hubi...@ucw.cz>

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

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);
     }

Reply via email to