On 21 February 2014 13:06, Peter Maydell <peter.mayd...@linaro.org> wrote: > Four simple patches which correct situations where we shift left > into the sign bit of a signed integer type, which is undefined > behaviour in C. These are by no means the only examples (even > restricted to ARM board code; try "grep '1 << 31'"), but I'm > vaguely aiming for "get 'make check' to not emit any clang > -fsanitize=undefined warnings". > > Peter Maydell (4): > pxa2xx: Don't shift into sign bit > hw/arm/omap1.c: Avoid shifting left into sign bit > hw/ssi/xilinx_spips.c: Avoid shifting left into sign bit > hw/arm/musicpal: Avoid shifting left into sign bit
Applying these to target-arm.next; no review but they're pretty trivial. thanks -- PMM