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

            Bug ID: 15440
           Summary: llvm opt crash on csmith fuzz testcase
           Product: tools
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10138
  --> http://llvm.org/bugs/attachment.cgi?id=10138&action=edit
testcase

Attached is a testcase that was generated by the csmith fuzzer. It crashes when
run through opt -O1

$ opt -O1 emcc-0-basebc.bc -o out.bc
0  opt             0x0000000000db54d2
1  opt             0x0000000000db5853
2  libpthread.so.0 0x00007f67a27f0cb0
Stack dump:
0.    Program arguments: /home/alon/Dev/llvmCore-3.2-rc3.install/bin/opt -O1
emcc-0-basebc.bc -o out.bc 
1.    Running pass 'Global Variable Optimizer' on module 'emcc-0-basebc.bc'.
Segmentation fault (core dumped)

This is on LLVM 3.2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to