[LLVMbugs] [Bug 3173] New: EvaluateInteger crashes

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Dec 6 19:41:41 PST 2008


           Summary: EvaluateInteger crashes
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: xuzhongxing at gmail.com
                CC: llvmbugs at cs.uiuc.edu

clang crashes on this code:

enum { A, B = A+50 };

clang: /home/xing/llvm/include/llvm/ADT/APSInt.h:166: llvm::APSInt&
llvm::APSInt::operator+=(const llvm::APSInt&): Assertion `IsUnsigned ==
RHS.IsUnsigned && "Signedness mismatch!"' failed.

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