https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113765

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eugene Rozenfeld <ero...@gcc.gnu.org>:

https://gcc.gnu.org/g:fe385c219994f6d5c1ffe00bcaf5a62c3d18caaf

commit r14-9780-gfe385c219994f6d5c1ffe00bcaf5a62c3d18caaf
Author: Eugene Rozenfeld <ero...@microsoft.com>
Date:   Tue Mar 26 16:28:08 2024 -0700

    Don't set full_profile in auto-profile [PR113765]

    auto-profile currently doesn't guarantee that it will set probabilities
    on all edges because of zero basic block counts. Normally those edges
    just have probabilities set by the preceding profile_estimate pass but
    under -O0 profile_estimate pass doesn't run. The patch removes setting
    of full_profile to true in auto-profile.

    Tested on x86_64-pc-linux-gnu.

    gcc/ChangeLog:
            PR gcov-profile/113765
            * auto-profile.cc (afdo_annotate_cfg): Don't set full_profile to
true

Reply via email to