This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/67009] New: libsanitizer: shift overflow warnings when boot strapping 32 bit library
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Jul 2015 17:47:28 +0000
- Subject: [Bug sanitizer/67009] New: libsanitizer: shift overflow warnings when boot strapping 32 bit library
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67009
Bug ID: 67009
Summary: libsanitizer: shift overflow warnings when boot
strapping 32 bit library
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: gary at intrepid dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target Milestone: ---
After a recent update, I noticed the following warnings in the 32-bit build of
libsanitizer.
/eng/upc/dev/gary/gupc-merge/src/gupc/libsanitizer/tsan/tsan_sync.h:86:35:
warning: result of â(3 << 30)â requires 33 bits to represent, but âintâ only
has 32 bits [-Wshift-overflow=]
/eng/upc/dev/gary/gupc-merge/src/gupc/libsanitizer/tsan/tsan_sync.h:88:35:
warning: result of â(2 << 30)â requires 33 bits to represent, but âintâ only
has 32 bits [-Wshift-overflow=]
/eng/upc/dev/gary/gupc-merge/src/gupc/libsanitizer/tsan/tsan_sync.h:86:35:
warning: result of â(3 << 30)â requires 33 bits to represent, but âintâ only
has 32