This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/66827] [6 Regression] left shifts of negative value warnings due to C++14 switch
- From: "nickc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Dec 2015 08:24:07 +0000
- Subject: [Bug other/66827] [6 Regression] left shifts of negative value warnings due to C++14 switch
- Auto-submitted: auto-generated
- References: <bug-66827-4 at http dot gcc dot gnu dot org/bugzilla/>
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