diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-01-12 08:08:27 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-01-12 07:08:27 +0000 |
commit | e3bde69aead17eb0e42a6f9c542f0033d642ba74 (patch) | |
tree | 379ae6eb5713950813717f8cc74352f0ee4031ac /gcc/ipa-utils.c | |
parent | 348f9b51249056a282d4765233588e9263e374b2 (diff) | |
download | gcc-e3bde69aead17eb0e42a6f9c542f0033d642ba74.zip gcc-e3bde69aead17eb0e42a6f9c542f0033d642ba74.tar.gz gcc-e3bde69aead17eb0e42a6f9c542f0033d642ba74.tar.bz2 |
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
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 5c5db22..bc538c5 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) |