[LLVMbugs] [Bug 2564] New: assertion "BitWidth == RHS.BitWidth && " Bit widths must be the same"" failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 17 20:09:44 PDT 2008


           Summary: assertion "BitWidth == RHS.BitWidth && "Bit widths must
                    be the same"" failed
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Basic
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: krister.walfridsson at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1842)
 --> (http://llvm.org/bugs/attachment.cgi?id=1842)
File triggering the bug

Pointer arithmetic may make clang (svn revision 53738, NetBSD, x86_64)
trigger an assert:

> clang -fsyntax-only bug.c
assertion "BitWidth == RHS.BitWidth && "Bit widths must be the same"" failed:
file "APInt.cpp", line 283, function "llvm::APInt&
llvm::APInt::operator-=(const llvm::APInt&)"
Abort (core dumped)

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