This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/77698] Unrolled loop not considered hot after profiling
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Nov 2018 07:33:20 +0000
- Subject: [Bug gcov-profile/77698] Unrolled loop not considered hot after profiling
- Auto-submitted: auto-generated
- References: <bug-77698-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77698
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Nov 5 07:32:48 2018
New Revision: 265784
URL: https://gcc.gnu.org/viewcvs?rev=265784&root=gcc&view=rev
Log:
Fix setting of hotness in non-LTO mode (PR gcov-profile/77698).
2018-11-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/77698
* ipa-profile.c (ipa_profile): Adjust hotness threshold
only in LTO mode.
2018-11-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/77698
* gcc.dg/tree-prof/pr77698.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-prof/pr77698.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-profile.c
trunk/gcc/testsuite/ChangeLog