On 10/9/18 6:37 AM, 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 <[email protected]> > > PR gcov-profile/77698 > * ipa-profile.c (ipa_profile): Adjust hotness threshold > only in LTO mode. > > gcc/testsuite/ChangeLog: > > 2018-10-09 Martin Liska <[email protected]> > > PR gcov-profile/77698 > * gcc.dg/tree-prof/pr77698.c: New test. OK jeff
