This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH v2.0] Use saturated arithmetic for overflow detection.


On Friday 01 November 2013 09:31:26 OndÅej BÃlka wrote:
> --- a/malloc/malloc.c
> +++ b/malloc/malloc.c
> 
> +  if (__builtin_expect (bytes == SIZE_MAX, 0)) {

stick with glibc_likely & friends
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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