2016-02-22 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2016 09:32:35 +0000 (09:32 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2016 09:32:35 +0000 (09:32 +0000)
commit6ec9c8c50a63c8f1e1ce471639460b6d880956c7
tree5ac6f9056926a53719d7f72d459009fd358327cd
parent9a0f46cdcb01523aa946436209d420c572ada904
2016-02-22  Richard Biener  <rguenther@suse.de>

PR ipa/37448
* ipa-inline-transform.c (inline_call): When not updating
overall summaries adjust self size by the growth estimate.
* ipa-inline.c (inline_to_all_callers_1): Add to the callers
hash-set, do not update overall summaries here.  Renamed from ...
(inline_to_all_callers): ... this which is now wrapping the
above and performing delayed overall summary update.
(early_inline_small_functions): Delay updating of the overall
summary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233598 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-inline-transform.c
gcc/ipa-inline.c