PING^1
On 10/9/18 2:37 PM, Martin Liška wrote:
> Hi.
>
> In non-LTO mode, we should not set hotness according to computed histogram
> in ipa-profile. Following patch does that and fixes the test-case isolated
> from PR.
>
> Patch survives regression tests on x86_64-linux-gnu.
> Ready for trunk?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2018-10-09 Martin Liska <mli...@suse.cz>
>
> PR gcov-profile/77698
> * ipa-profile.c (ipa_profile): Adjust hotness threshold
> only in LTO mode.
>
> gcc/testsuite/ChangeLog:
>
> 2018-10-09 Martin Liska <mli...@suse.cz>
>
> PR gcov-profile/77698
> * gcc.dg/tree-prof/pr77698.c: New test.
> ---
> gcc/ipa-profile.c | 5 ++---
> gcc/testsuite/gcc.dg/tree-prof/pr77698.c | 23 +++++++++++++++++++++++
> 2 files changed, 25 insertions(+), 3 deletions(-)
> create mode 100644 gcc/testsuite/gcc.dg/tree-prof/pr77698.c
>
>