[Bug other/66827] [6 Regression] left shifts of negative value warnings due to C++14 switch

nickc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 21 08:24:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827

--- Comment #9 from Nick Clifton <nickc at gcc dot gnu.org> ---
Author: nickc
Date: Mon Dec 21 08:23:35 2015
New Revision: 231873

URL: https://gcc.gnu.org/viewcvs?rev=231873&root=gcc&view=rev
Log:
        PR 66827
        * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left
        shifting.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/regex.c


More information about the Gcc-bugs mailing list