[LLVMbugs] [Bug 7778] New: undefined behavior at BitstreamWriter.h, (92:5)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Aug 1 13:33:29 PDT 2010


           Summary: undefined behavior at BitstreamWriter.h, (92:5)
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

This is from clang 109870 on x86.

It happens when running "make check".

The problem is shifting right by 32 places, which is of course illegal.  It
would seem that NumBits can be 32.  Likely another filter on NumBits needs to
be added before the second assertion runs.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list