<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - llvm opt crash on csmith fuzz testcase"
   href="http://llvm.org/bugs/show_bug.cgi?id=15440">15440</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm opt crash on csmith fuzz testcase
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>opt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alonzakai@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10138" name="attach_10138" title="testcase">attachment 10138</a> <a href="attachment.cgi?id=10138&action=edit" title="testcase">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>