summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-analysis.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-30 22:03:27 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-30 22:03:27 +0000
commit5e8fd8b6b31ff18a796b6602738e6a6dc4f7b24d (patch)
tree57a4d209bacac85e13b2d25aedb7fb39dcbdbbe5 /gcc/ipa-inline-analysis.c
parent1e0cf2e8f35281090e34078fc96c5d3a69ee6df8 (diff)
downloadgcc-5e8fd8b6b31ff18a796b6602738e6a6dc4f7b24d.tar.gz
* ipa-inline-analysis.c (estimate_function_body_sizes): Do not
free node params when called late with early=true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r--gcc/ipa-inline-analysis.c2
1 files changed, 1 insertions, 1 deletions
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);
}