http://llvm.org/bugs/show_bug.cgi?id=2564

           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to