[llvm-bugs] [Bug 34860] New: Csmith program gives bad checksum with -disable-basicaa

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 6 06:16:50 PDT 2017


            Bug ID: 34860
           Summary: Csmith program gives bad checksum with
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19247
  --> https://bugs.llvm.org/attachment.cgi?id=19247&action=edit
bugpoint reduced testcase with same checksums / options

Preprocessed orinal c-program:
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

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 at 314416
clang: 0e1f5c3 / cfe/trunk at 314391

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171006/ec701d76/attachment.html>

More information about the llvm-bugs mailing list