This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove unnecesary bulitin_expect markers


Jan Hubicka wrote:
> Hi,
> libstdc++ headers include a lot of __builtin_expect calls guarding
> throw.  GCC can work out this bit itself becuase function is noreturn.
> Having the __builtin_expect markers there is just going to add some IL
> overhead until end of inlining process.
>
> Tested on x86_64-linux, OK?
>   
Ok, thanks.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]