[LLVMbugs] [Bug 324] NEW: Inliner and Prune-EH crash on the Attached Code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 20 13:04:46 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=324

           Summary: Inliner and Prune-EH crash on the Attached Code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: criswell at uiuc.edu


Optimizing the attached code with -inline and -prune-eh cause the following crash:

llvm-as file.ll
opt -inline -prune-eh file.bc -f -o null.bc

opt[0x8618b5e]
opt[0x8618d7e]
opt[0x42029188]
opt(llvm::scc_iterator<llvm::CallGraph*, llvm::GraphTraits<llvm::CallGraph*>
>::GetNextSCC()+0x7d)[0x8637603]
opt(llvm::scc_iterator<llvm::CallGraph*, llvm::GraphTraits<llvm::CallGraph*>
>::operator++()+0x11)[0x863724b]
opt(llvm::CallGraphSCCPass::run(llvm::Module&)+0x95)[0x86370bb]
opt(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::Pass*,
llvm::Module*)+0x1f)[0x85f13f5]
opt(llvm::PassManagerT<llvm::Module>::runOnUnit(llvm::Module*)+0x5e1)[0x85e56e3]
opt(llvm::PassManagerTraits<llvm::Module>::run(llvm::Module&)+0x1f)[0x85e6d85]
opt(llvm::PassManager::run(llvm::Module&)+0x23)[0x85a482f]
opt(main+0x87f)[0x83a4def]
opt(__libc_start_main+0x95)[0x42017589]
opt(std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&,
char)+0x5d)[0x83a44c1]
Segmentation fault (core dumped)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list