From e3bde69aead17eb0e42a6f9c542f0033d642ba74 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 12 Jan 2015 08:08:27 +0100 Subject: [PATCH] ipa-utils.c (estimate_function_body_sizes): Do not free node params when called late with early=true. * ipa-utils.c (estimate_function_body_sizes): Do not free node params when called late with early=true. From-SVN: r219444 --- gcc/ChangeLog | 5 +++++ gcc/ipa-utils.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e6d41b47bf..7e53d984861 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-11 Jan Hubicka + + * ipa-utils.c (estimate_function_body_sizes): Do not + free node params when called late with early=true. + 2015-01-11 James Greenhalgh * doc/md.texi (Instruction Patterns): Rewrite text for diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 5c5db220ab1..bc538c58c25 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -474,8 +474,8 @@ ipa_merge_profiles (struct cgraph_node *dst, gcc_assert (!*slot); *slot = state; } - src->get_body (); - dst->get_body (); + src->get_untransformed_body (); + dst->get_untransformed_body (); srccfun = DECL_STRUCT_FUNCTION (src->decl); dstcfun = DECL_STRUCT_FUNCTION (dst->decl); if (n_basic_blocks_for_fn (srccfun) -- 2.30.2