This is the mail archive of the gcc-bugs@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]

[Bug gcov-profile/77698] Unrolled loop not considered hot after profiling


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

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