<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 --- - Small test crashes when compiled with Clang at -O2."
   href="http://llvm.org/bugs/show_bug.cgi?id=18588">18588</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Small test crashes when compiled with Clang at -O2.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>mohammad.r.haghighat@intel.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=11923" name="attach_11923" title="Source, input file, and ouput for test t6769">attachment 11923</a> <a href="attachment.cgi?id=11923&action=edit" title="Source, input file, and ouput for test t6769">[details]</a></span>
Source, input file, and ouput for test t6769

This test is one of the tests from
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [icFuzz] Incorrect results at -O2 optimization and infinite loop in the Clang optimizer"
   href="show_bug.cgi?id=16431#c27">http://llvm.org/bugs/show_bug.cgi?id=16431#c27</a>

clang version 3.5 (trunk 199677)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

clang t6769.c
./a.out < input.txt
res = 434016592

clang -O2 t6769.c
./a.out < input.txt
Segmentation fault: 11</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>