From fb9098887bbc4ee48ee1d9ed9b8b31eea4758808 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Thu, 24 May 2012 00:23:54 +0200 Subject: [PATCH] ipa-inline-analysis.c (inline_merge_summary): Free operand_map. 2012-05-23 Martin Jambor * ipa-inline-analysis.c (inline_merge_summary): Free operand_map. From-SVN: r187817 --- gcc/ChangeLog | 4 ++++ gcc/ipa-inline-analysis.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 465cff1c3cdb..70e58eef9d1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-05-23 Martin Jambor + + * ipa-inline-analysis.c (inline_merge_summary): Free operand_map. + 2012-05-23 Eric Botcazou * gimple.c (gimple_types_compatible_p_1) : Remove bogus diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index dd01d33740f5..f381907078cb 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -2696,6 +2696,7 @@ inline_merge_summary (struct cgraph_edge *edge) edge_set_predicate (edge, &true_p); /* Similarly remove param summaries. */ VEC_free (inline_param_summary_t, heap, es->param); + VEC_free (int, heap, operand_map); info->time = (info->time + INLINE_TIME_SCALE / 2) / INLINE_TIME_SCALE; info->size = (info->size + INLINE_SIZE_SCALE / 2) / INLINE_SIZE_SCALE;