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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-06-28
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
a simple testcase:
test (int i)
{
        if (__builtin_expect_with_probability (i > 5, 1, 0.6))
                foo ();
}
test2(int i)
{
        test (i);
        if (__builtin_expect_with_probability (i > 4, 1, 0.7))
                foo ();
}
this is can be updated quite easily, but we still fail.

Reply via email to