<div dir="ltr">I'd suggest approach this like any other bug in source code (not in the compiler) - reduce the example, isolate the failure - until you either find a source bug, or a small, standalone example that seems to demonstrate a contradiction or bug in the way the compiler is interpreting the source.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 30, 2018 at 12:49 AM Jeffrey Walton via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Everyone,<br>
<br>
We caught a report for a failed self test when using Clang 5.0 and 6.0<br>
with -DDEBUG and -O1 (i.e., a "debug build"). The code is question is<br>
located at <a href="https://github.com/weidai11/cryptopp/blob/master/cham-simd.cpp" rel="noreferrer" target="_blank">https://github.com/weidai11/cryptopp/blob/master/cham-simd.cpp</a><br>
. It is the SSSE3 code path for CHAM64.<br>
<br>
Other optimizations levels are OK for Clang. GCC, ICC and MSVC are OK.<br>
The code is valgrind, Sanitizer, Coverity and Enterprise Analysis<br>
clean.<br>
<br>
An objdump is available at <a href="https://pastebin.com/TAKH4eur" rel="noreferrer" target="_blank">https://pastebin.com/TAKH4eur</a> but it is not<br>
very helpful to me.<br>
<br>
My question is, how can we begin to troubleshoot the issue?<br>
<br>
Thanks in advance,<br>
<br>
Jeff<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>