[Bug d/88366] New: ubsan build of d

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 5 11:08:00 GMT 2018


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

            Bug ID: 88366
           Summary: ubsan build of d
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just tried a ubsan build of the new D code in gcc trunk.

./../trunk/gcc/d/dmd/dsymbol.c:1194:56: runtime error: shift exponent 32 is too
large for 32-bit type 'int'

../../trunk/gcc/d/dmd/intrange.c:240:7: runtime error: shift exponent 64 is too
large for 64-bit type 'long unsigned int'

../../trunk/gcc/d/dmd/dsymbol.c:1199:64: runtime error: shift exponent 53 is
too large for 32-bit type 'int'


More information about the Gcc-bugs mailing list