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 1/2] Replace check_mul_overflow_size_t with INT_MULTIPLY_WRAPV


* Adhemerval Zanella:

> -  bool overflow = check_mul_overflow_size_t (element_size, count, &size);
> +  bool overflow = INT_MULTIPLY_WRAPV (element_size, count, &size);

What's the reason for not using the compiler built-in?


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