On 06/14/2018 02:32 PM, David Malcolm wrote:
> The idea is to later use these macros to mark the
>   if (dump_enabled_p ())
> parts of the compiler as cold, in the hope of helping non-PGO builds
> of gcc.
> 
> I haven't measured it yet, though.
> 
> gcc/ChangeLog:
>       * system.h (GCC_LIKELY, GCC_UNLIKELY): New macros, adapted from
>       libgfortran.h.
ISTM if we're going to bother with this stuff that we should try to be
consistent between glibc and gcc.  Anything else seems like utter
madness to me.

Jeff

Reply via email to