]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR ipa/87706 (Inlined functions trigger invalid -Wmissing-profile warning)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 20 Nov 2018 13:25:04 +0000 (14:25 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 20 Nov 2018 13:25:04 +0000 (13:25 +0000)
commit12485662c00914ed132d950f1329fdaf32c11a3c
tree915c311dd930a542e608132872f89e56f2d114e0
parent8c944c97a2e5a264779ad1d448f97319f471275a
re PR ipa/87706 (Inlined functions trigger invalid -Wmissing-profile warning)

PR ipa/87706
* ipa-fnsummary.c (pass_ipa_fnsummary): Do not remove functions
* ipa.c (possible_inline_candidate_p): Break out from ..
(process_references): ... here ; drop before_inlining_p;
cleanup handling of alises.
(walk_polymorphic_call_targets): Likewise.
(symbol_table::remove_unreachable_nodes): Likewise.
* passes.c (pass_data_ipa_remove_symbols): New structure.
(pass_ipa_remove_symbols): New pass.
(make_pass_ipa_remove_symbols): New functoin.
* passes.def (pass_ipa_remove_symbols): Schedule after early passes.

From-SVN: r266315
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/ipa.c
gcc/passes.c
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ctor-empty-1.c