ipa: duplicate ipa_size_summary for cloned nodes
authorJan Hubicka <hubicka@ucw.cz>
Thu, 19 Dec 2019 08:20:09 +0000 (09:20 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 19 Dec 2019 08:20:09 +0000 (08:20 +0000)
commit44fca83228acc96c19c51e52b5c0448e09329170
treebfe0552c058c7e746f11c67c4516ecb3a1184026
parent951e27f58ca5c7f33124407079c383706e99c68d
ipa: duplicate ipa_size_summary for cloned nodes

* ipa-fnsummary.h (ipa_size_summary): Remove copy consturctor.
(ipa_size_summary_t): Add duplicate method; move to heap.
* ipa-fnsumary.c (ipa_fn_summary_alloc): Fix allocation.

From-SVN: r279563
gcc/ChangeLog
gcc/ipa-fnsummary.c
gcc/ipa-fnsummary.h