<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Csmith program gives bad checksum with -disable-basicaa"
   href="https://bugs.llvm.org/show_bug.cgi?id=34860">34860</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Csmith program gives bad checksum with -disable-basicaa
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>paulsson@linux.vnet.ibm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19247" name="attach_19247" title="bugpoint reduced testcase with same checksums / options">attachment 19247</a> <a href="attachment.cgi?id=19247&action=edit" title="bugpoint reduced testcase with same checksums / options">[details]</a></span>
bugpoint reduced testcase with same checksums / options

Preprocessed orinal c-program:
wrong10.i
49B9B5C5:  /root/llvm/build/llvm-dev/bin/clang -O3 -march=z13 wrong10.c
-I/root/csmith/runtime -o a.out -w
5FFE0748:  /root/llvm/build/llvm-dev/bin/clang -O3 -march=z13 wrong10.c
-I/root/csmith/runtime -o a.out -w -mllvm -disable-basicaa

(Out of 15 builds with randomized options did all but one gave checksum
49B9B5C5).

reduced program (also prints a number of other lines): wrong10.reduced.bc

/root/llvm/build/llvm-dev/bin/clang -O3 -march=z13 ./wrong10.reduced.bc -o
a.out -w; ./a.out |& grep checksum
checksum = 49B9B5C5

/root/llvm/build/llvm-dev/bin/clang -O3 -march=z13 ./wrong10.reduced.bc -o
a.out -w -mllvm -disable-basicaa; ./a.out |& grep checksum
checksum = 5FFE0748

Note : the commits were:
LLVM : e5e1c85 / trunk@314416
clang: 0e1f5c3 / cfe/trunk@314391</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>