[LLVMbugs] [Bug 10998] New: Assertion failed: (MBB && MBB->getNumber() >= 0 && "Invalid basic block")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 23 07:27:07 PDT 2011


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

           Summary: Assertion failed: (MBB && MBB->getNumber() >= 0 &&
                    "Invalid basic block")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7338)
 --> (http://llvm.org/bugs/attachment.cgi?id=7338)
bugpoint-reduced-simplified.bc

clang version 3.0 (trunk 140372)
Target: i386-unknown-freebsd8.2

Original source is CGBuiltin.cpp from clang r135360. This only happens on i386,
amd64 is ok.

% llc bugpoint-reduced-simplified.bc 
Assertion failed: (MBB && MBB->getNumber() >= 0 && "Invalid basic block"),
function EmitJumpTableEntry, file
/data/buildslave/freebsd-clang-i386/src-llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp,
line 1108.
Stack dump:
0.    Program arguments:
/data/buildslave/freebsd-clang-i386/obj/llvm.2/Release+Asserts/bin/llc
bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'X86 AT&T-Style Assembly Printer' on function
'@_ZN5clang7CodeGen15CodeGenFunction18EmitARMBuiltinExprEjPKNS_8CallExprE'
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