This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix setting of hotness in non-LTO mode (PR gcov-profile/77698).


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  <mliska@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  <mliska@suse.cz>
> 
> 	PR gcov-profile/77698
> 	* gcc.dg/tree-prof/pr77698.c: New test.
OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]