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: Ping Re: Avoid some left-shifts of negative constants


On Feb 11 2019, Joseph Myers <joseph@codesourcery.com> wrote:

> Ping.  Does anyone else wish to comment on this patch 
> <https://sourceware.org/ml/libc-alpha/2019-02/msg00177.html> as a cleanup 
> in this particular case (where as discussed, in any case -1U would be 
> problematic because of a change of types, -1 would be problematic as well 
> because of possible shifts by 32 or more)?

A shift by 32 or more would be problematic in any case.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


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