cgraphunit.c (symbol_table::process_new_functions): Update.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 23 May 2017 16:20:53 +0000 (18:20 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 23 May 2017 16:20:53 +0000 (16:20 +0000)
commitd2db2e6b0563787bcc40c025ae5888020ded364f
tree4fbb34d10531b2ddc637167a7a5ef9cf59510b11
parent78aa76df40b581bbc79a8ada55e437845b88d764
cgraphunit.c (symbol_table::process_new_functions): Update.

* cgraphunit.c (symbol_table::process_new_functions): Update.
* ipa-fnsummary.c (pass_data_inline_parameters): Remove.
(inline_generate_summary): Rename to ...
(ipa_fn_summary_generate): ... this one.
(inline_read_summary): Rename to ...
(ipa_fn_summary_read): ... this one.
(inline_write_summary): Rename to ...
(ipa_fn_summary_write): ... this one.
(inline_free_summary): Rename to ...
(ipa_free_fn_summary): ... this one.
(pass_data_local_fn_summary, pass_local_fn_summary,
make_pass_local_fn_summary, pass_data_ipa_free_fn_summary,
pass_ipa_free_fn_summary, make_pass_ipa_free_fn_summary,
pass_data_ipa_fn_summary, pass_ipa_fn_summary,
make_pass_ipa_fn_summary): New.
* ipa-fnsummary.h (inline_generate_summary, inline_read_summary,
inline_write_summary, inline_free_summary): Remove.
(ipa_free_fn_summary) : New.
* ipa-inline.c (ipa_inline): Update.
(pass_ipa_inline): Do not generate summaries.
* ipa.c (pass_data_ipa_free_fn_summary, pass_ipa_free_fn_summary):
Remove.
* passes.def: Replace pass_inline_parameters by pass_local_fn_summary
and add pass_ipa_fn_summary.
* tree-pass.h (make_pass_ipa_fn_summary, make_pass_local_fn_summary):
New.
(make_pass_inline_parameters): Remove.

* lto.c (do_whole_program_analysis): Replace inline_free_summary
by ipa_free_fn_summary.

* gcc.dg/ipa/ctor-empty-1.c: Update template.
* gcc.dg/ipa/inline-5.c: Likewise.
* gfortran.dg/pr48636.f90: Likewise.

From-SVN: r248375
14 files changed:
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa-fnsummary.c
gcc/ipa-fnsummary.h
gcc/ipa-inline.c
gcc/ipa.c
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ctor-empty-1.c
gcc/testsuite/gcc.dg/ipa/inline-5.c
gcc/testsuite/gfortran.dg/pr48636.f90
gcc/tree-pass.h