This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/67009] New: libsanitizer: shift overflow warnings when boot strapping 32 bit library


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]