Re: RFA: Libiberty: Fix warnings about left shifting a negative value.

2015-12-18 Thread Ian Lance Taylor
On Fri, Dec 18, 2015 at 4:17 AM, Nick Clifton wrote: > > 2015-12-18 Nick Clifton > > PR 66827 > * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left > shifting. This is OK. Thanks. Ian

RFA: Libiberty: Fix warnings about left shifting a negative value.

2015-12-18 Thread Nick Clifton
Hi DJ, Hi Ian, GCC PR 66827 reports some problems with left shifting a negative value: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827 Of the problems reported only two remain - in libiberty/regex.c: libiberty/regex.c:6970:11: runtime error: left shift of negative value -1 libibert