From: Jan Hubicka Date: Tue, 30 Dec 2014 22:03:27 +0000 (+0100) Subject: ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9897ab448f53f3cfdf546c9f58c7101c57826dc0;p=gcc.git ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when called late with early=true. * ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when called late with early=true. From-SVN: r219114 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 427ceeaf1d8..e4f6bab3a76 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-30 Jan Hubicka + + * ipa-inline-analysis.c (estimate_function_body_sizes): Do not + free node params when called late with early=true. + 2014-12-30 Uros Bizjak * config/i386/i386.c (ix86_legitimize_address): Use std::swap. diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 5cc0a2500ee..5f022c630d0 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -2851,7 +2851,7 @@ estimate_function_body_sizes (struct cgraph_node *node, bool early) { if (!early) loop_optimizer_finalize (); - else + else if (!ipa_edge_args_vector) ipa_free_all_node_params (); free_dominance_info (CDI_DOMINATORS); }