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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|ASSIGNED                    |NEW

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Well, it would require partial stripping of selected predictors and then later
stripping all of them after profile_estimate pass.

About the __builtin_expect, I would recommend to use macro, similarly what
Linux does:

$ cat include/linux/compiler.h
...
#define likely_notrace(x)       __builtin_expect(!!(x), 1)
#define unlikely_notrace(x)     __builtin_expect(!!(x), 0)
...

Thus lowering priority for the PR.

Reply via email to