<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 --- - sccp miscompile (t8499 case from PR16431)"
   href="http://llvm.org/bugs/show_bug.cgi?id=16457">16457</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>sccp miscompile (t8499 case from PR16431)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hfinkel@anl.gov
          </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=10768" name="attach_10768" title="bugpoint reduced test case and input file">attachment 10768</a> <a href="attachment.cgi?id=10768&action=edit" title="bugpoint reduced test case and input file">[details]</a></span>
bugpoint reduced test case and input file

SCCP miscompiles the attached input (there is an input text file read by the
program which demonstrates the problem). This is the t8499 case from PR16431.

Specifically, if you run:
opt -sccp -mcpu=x86-64 bugpoint-passinput.ll

Then the resulting program segmentation faults.

whereas compiling it without running sccp, the resulting program outputs:
res = 953903788

Unfortunately, bugpoint crashes when attempting to further reduce the test case
:(
 -- but at least it was able to isolate the relevant pass.</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>