Ping Re: Avoid some left-shifts of negative constants

Andreas Schwab schwab@linux-m68k.org
Mon Feb 11 19:27:00 GMT 2019


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."



More information about the Libc-alpha mailing list