From 9897ab448f53f3cfdf546c9f58c7101c57826dc0 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 30 Dec 2014 23:03:27 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline-analysis.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } -- 2.30.2