[LLVMbugs] [Bug 11499] New: LLVM 3.0 opt SEGFAULT on following example

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 7 02:13:06 PST 2011


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

             Bug #: 11499
           Summary: LLVM 3.0 opt SEGFAULT on following example
           Product: new-bugs
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: babslachem at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7683
  --> http://llvm.org/bugs/attachment.cgi?id=7683
CL file to reproduce problem

Using LLVM 3.0 on attached example, it SEGFAULTs with following exec trace on
my Ubuntu 10.04LTS 64-bit system:

opt -O2 cl00.ll -S -o cl00.opt.ll

0  opt             0x00000000008a1d0f
1  opt             0x00000000008a3a5a
2  libpthread.so.0 0x00007f5c57a158f0
3  opt             0x0000000000875686 llvm::APInt::countLeadingZerosSlowCase()
const + 38
4  opt             0x0000000000875962 llvm::APInt::EqualSlowCase(unsigned long)
const + 98
5  opt             0x00000000004d4bdb llvm::MemIntrinsic::isVolatile() const +
59
6  opt             0x00000000005b1138
7  opt             0x0000000000594e49
8  opt             0x00000000005959f6
9  opt             0x00000000008500d8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 552
10 opt             0x0000000000850183
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
11 opt             0x000000000084fcb4
llvm::MPPassManager::runOnModule(llvm::Module&) + 468
12 opt             0x000000000084fdcd llvm::PassManagerImpl::run(llvm::Module&)
+ 141
13 opt             0x00000000004b4ff9 main + 4489
14 libc.so.6       0x00007f5c56cefc4d __libc_start_main + 253
15 opt             0x00000000004a6eb9
Stack dump:
0.    Program arguments:
/home/deldon/Work/dev/pgi/linux86/share/llvm/3.0/bin/opt -O2 cl00.ll -S -o
cl00.opt.ll 
1.    Running pass 'Function Pass Manager' on module 'cl00.ll'.
2.    Running pass 'Combine redundant instructions' on function '@f'
Segmentation fault

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