Fix setting of hotness in non-LTO mode (PR gcov-profile/77698).
authorMartin Liska <mliska@suse.cz>
Mon, 5 Nov 2018 07:32:48 +0000 (08:32 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 5 Nov 2018 07:32:48 +0000 (07:32 +0000)
commite53f77c666d6806c2e8c288ca1affa1497453e57
tree61dd6f8f15a1f10381470378b055d13766499c3e
parent51020b00c72fff04f3acd0cc21a61bedd789f39c
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.

From-SVN: r265784
gcc/ChangeLog
gcc/ipa-profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr77698.c [new file with mode: 0644]