[LLVMbugs] [Bug 13990] New: Crash in SROA.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 2 03:46:58 PDT 2012


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

             Bug #: 13990
           Summary: Crash in SROA.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: benny.kra at gmail.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9285
  --> http://llvm.org/bugs/attachment.cgi?id=9285
bugpoint-reduced testcase

$ opt -S -sroa < t.ll
0  libLLVM-3.2svn.dylib 0x000000010c18e1be PrintStackTrace(void*) + 46
1  libLLVM-3.2svn.dylib 0x000000010c18e7d8 SignalHandler(int) + 408
2  libsystem_c.dylib    0x00007fff8bfd98ea _sigtramp + 26
3  libsystem_c.dylib    000000000000000000 _sigtramp + 18446603338167510832
4  libLLVM-3.2svn.dylib 0x000000010b0bfa79 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >::end() + 25
5  libLLVM-3.2svn.dylib 0x000000010b6ccf48 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::remove(llvm::ilist_iterator<llvm::Instruction>&) + 40
6  libLLVM-3.2svn.dylib 0x000000010b6cd0a0 llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>) + 32
7  libLLVM-3.2svn.dylib 0x000000010b86a5ff llvm::Instruction::eraseFromParent()
+ 63
8  libLLVM-3.2svn.dylib 0x000000010be86258 (anonymous
namespace)::SROA::runOnAlloca(llvm::AllocaInst&) + 200
9  libLLVM-3.2svn.dylib 0x000000010be85e10 (anonymous
namespace)::SROA::runOnFunction(llvm::Function&) + 656
10 libLLVM-3.2svn.dylib 0x000000010b8ac91a
llvm::FPPassManager::runOnFunction(llvm::Function&) + 442
11 libLLVM-3.2svn.dylib 0x000000010b8acc1d
llvm::FPPassManager::runOnModule(llvm::Module&) + 125
12 libLLVM-3.2svn.dylib 0x000000010b8ad12c
llvm::MPPassManager::runOnModule(llvm::Module&) + 1196
13 libLLVM-3.2svn.dylib 0x000000010b8adac7
llvm::PassManagerImpl::run(llvm::Module&) + 167
14 libLLVM-3.2svn.dylib 0x000000010b8adce1
llvm::PassManager::run(llvm::Module&) + 33
15 opt                  0x000000010aded82d main + 9597
16 libdyld.dylib        0x00007fff8918e7e1 start + 0
Stack dump:
0.    Program arguments: opt -S -sroa 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'SROA' on function '@foo'
[1]    86274 segmentation fault  opt -S -sroa < t.ll

-- 
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