diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-12-30 23:03:27 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-12-30 22:03:27 +0000 |
commit | 9897ab448f53f3cfdf546c9f58c7101c57826dc0 (patch) | |
tree | 57a4d209bacac85e13b2d25aedb7fb39dcbdbbe5 | |
parent | 38377326e2b56d00473580621057ebe3a0fbc21f (diff) | |
download | gcc-9897ab448f53f3cfdf546c9f58c7101c57826dc0.zip gcc-9897ab448f53f3cfdf546c9f58c7101c57826dc0.tar.gz gcc-9897ab448f53f3cfdf546c9f58c7101c57826dc0.tar.bz2 |
ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when called late with early=true.
* ipa-inline-analysis.c (estimate_function_body_sizes): Do not
free node params when called late with early=true.
From-SVN: r219114
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-inline-analysis.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 427ceea..e4f6bab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-30 Jan Hubicka <hubicka@ucw.cz> + + * ipa-inline-analysis.c (estimate_function_body_sizes): Do not + free node params when called late with early=true. + 2014-12-30 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (ix86_legitimize_address): Use std::swap. diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 5cc0a25..5f022c6 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); } |