[LLVMbugs] [Bug 4909] New: Crash in opt -partial-inliner

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 6 12:56:51 PDT 2009


           Summary: Crash in opt -partial-inliner
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: d.g.gorbachev at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=3458)
 --> (http://llvm.org/bugs/attachment.cgi?id=3458)
Reduced BC file

opt -disable-output -partial-inliner bugpoint-reduced-simplified.bc

0x080fa657 in llvm::cast<llvm::BasicBlock, llvm::Value*> (Val=@0x88978c4)
    at /tmp/llvm/include/llvm/Support/Casting.h:199
199       assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
(gdb) bt
#0  0x080fa657 in llvm::cast<llvm::BasicBlock, llvm::Value*> (Val=@0x88978c4)
    at /tmp/llvm/include/llvm/Support/Casting.h:199
#1  0x0812ee8d in runOnModule (this=0x88903f0, M=@0x88906d0)
    at /tmp/llvm/lib/Transforms/IPO/PartialInlining.cpp:75
#2  0x084028aa in llvm::MPPassManager::runOnModule (this=0x88952c0,
    at /tmp/llvm/lib/VMCore/PassManager.cpp:1447
#3  0x08402c87 in llvm::PassManagerImpl::run (this=0x8891178, M=@0x88906d0)
    at /tmp/llvm/lib/VMCore/PassManager.cpp:1528
#4  0x08402d37 in llvm::PassManager::run (this=0xbfd1939c, M=@0x88906d0)
    at /tmp/llvm/lib/VMCore/PassManager.cpp:1557
#5  0x080f052e in main (argc=Cannot access memory at address 0x9)
 at /tmp/llvm/tools/opt/opt.cpp:512
(gdb) print Val
$1 = (class llvm::Value * const&) @0x9fe68c4: 0x0

LLVM rev. 81123, compiled with GCC 4.3.3 with -O2.

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