Update statistics about needed symbols in IPA ICF.
authorMartin Liska <mliska@suse.cz>
Thu, 14 Nov 2019 08:35:48 +0000 (09:35 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 14 Nov 2019 08:35:48 +0000 (08:35 +0000)
commit5d97670f7ab593223149b2b74fd96d9da79945b2
tree85a6e9053c8a787b004e6e9b01962584b1c57c00
parent7edcaa0b54eae1537622bc70a4f8702e15148e4c
Update statistics about needed symbols in IPA ICF.

2019-11-14  Martin Liska  <mliska@suse.cz>

* ipa-icf.c (sem_item_optimizer::execute): Save
loaded_symbols.
(sem_item_optimizer::parse_nonsingleton_classes):
Return number of loaded symbols.
(sem_item_optimizer::merge_classes): Print
statistics about totally needed symbols.
* ipa-icf.h (parse_nonsingleton_classes): Change return
type.
(merge_classes): Add one argument.

From-SVN: r278209
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h