From: Jan Hubicka Date: Mon, 12 Jan 2015 07:08:27 +0000 (+0100) Subject: ipa-utils.c (estimate_function_body_sizes): Do not free node params when called late... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3bde69aead17eb0e42a6f9c542f0033d642ba74;p=gcc.git 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 --- 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)