[LLVMbugs] [Bug 8480] New: clang crash during bootstrap

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 27 10:05:05 PDT 2010


           Summary: clang crash during bootstrap
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

Clang is crashing on the code:

template<class _T1, class _T2>     struct pair     {
_T1 first;
_T2 second;
pair()       : first(), second() {
typedef pair<bool, bool> PerInstNLInfo;
typedef pair<int, PerInstNLInfo> BucketT;
void InsertIntoBucket(const PerInstNLInfo &Value) {

clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm 

CGExpr.cpp:605: llvm::Value*
clang::CodeGen::CodeGenFunction::EmitToMemory(llvm::Value*, clang::QualType):
Assertion `Value->getType()->isIntegerTy(1) && "value rep of bool not i1"'

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