Re: [Qemu-devel] [PATCH 1/4] target-arm: A64: Fix shifts into sign bit

2015-02-12 Thread Greg Bellows
On Fri, Feb 6, 2015 at 8:34 AM, Peter Maydell wrote: > Fix attempts to shift into the sign bit of an int, which is undefined > behaviour in C and warned about by the clang sanitizer. > > Signed-off-by: Peter Maydell > --- > target-arm/translate-a64.c | 6 +++--- > 1 file changed, 3 insertions(+

[Qemu-devel] [PATCH 1/4] target-arm: A64: Fix shifts into sign bit

2015-02-06 Thread Peter Maydell
Fix attempts to shift into the sign bit of an int, which is undefined behaviour in C and warned about by the clang sanitizer. Signed-off-by: Peter Maydell --- target-arm/translate-a64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target-arm/translate-a64.c b/target-