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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED
                 CC|                            |law at gcc dot gnu.org

--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fixed by:

commit cc50337215535e17f1caa5eae34eaa650223c96b (HEAD, refs/bisect/bad)
Author: Eugene Rozenfeld <ero...@microsoft.com>
Date:   Fri Sep 15 18:12:47 2023 -0700

    Fixes for profile count/probability maintenance

    Verifier checks have recently been strengthened to check that
    all counts and probabilities are initialized. The checks fired
    during autoprofiledbootstrap build and this patch fixes it.

    Tested on x86_64-pc-linux-gnu.

    gcc/ChangeLog:
            * auto-profile.cc (afdo_calculate_branch_prob): Fix count
comparisons
            * tree-vect-loop-manip.cc (vect_do_peeling): Guard against zero
count
            when scaling loop profile

Reply via email to