re PR middle-end/37448 (cannot compile big function)
authorRichard Biener <rguenther@suse.de>
Mon, 22 Feb 2016 09:32:35 +0000 (09:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 22 Feb 2016 09:32:35 +0000 (09:32 +0000)
commitbddead150b7e66b097f920b48980f0c65ff8e09e
tree5ac6f9056926a53719d7f72d459009fd358327cd
parentf97374a73fbd90651c925386234329d65d59ce80
re PR middle-end/37448 (cannot compile big function)

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.

From-SVN: r233598
gcc/ChangeLog
gcc/ipa-inline-transform.c
gcc/ipa-inline.c