<div dir="ltr"><div>Hi Uri,</div><div>sorry for confusing you! I didn't tackle this enough (and had an old strange clang-13 installation on a weird box).</div><div>Your issue is actually reproduced on godbolt with "-march=skylake" option: <a href="https://godbolt.org/z/jaMP3W1cn">https://godbolt.org/z/jaMP3W1cn</a> .</div><div>That means this bug is veiled only in particular. As Dimitry said, the next clang-13.0.1 release should grasp the whole fix.</div><div> Thanks,</div><div> Anton</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 26 окт. 2021 г. в 16:40, Blumenthal, Uri - 0553 - MITLL <<a href="mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="gmail-m_-8225769505845565047WordSection1"><div><div><div id="gmail-m_-8225769505845565047gmail-:1p3"><div><p class="MsoNormal" style="margin-left:0.5in">Ok, I found that confusion comes from the different binaries supplied as "version 13", see below.<span style="color:rgb(80,0,80)"><u></u><u></u></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt"><u></u> <u></u></span></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt;color:rgb(0,112,192)">Now I am confused. <u></u><u></u></span></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt;color:rgb(0,112,192)"><u></u> <u></u></span></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt;color:rgb(0,112,192)">Does it mean that distributions (Ubuntu on Linux, Macports on MacOS, etc.) took <u>pre-release</u> (aka, still-beta) LLVM/Clang and released it as Clang-13? <u></u><u></u></span></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt;color:rgb(0,112,192)"><u></u> <u></u></span></span></p><p class="MsoNormal"><span class="gmail-m_-8225769505845565047gmail-im"><span style="font-size:12pt;color:rgb(0,112,192)">Or that LLVM or Clang were patched after being released, <u>without updating the version</u> numbers?<u></u><u></u></span></span></p><div><p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(80,0,80)">> So, requested Clang, but compiled with GCC???<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-left:0.5in">Godbold actually uses Clang here, "-gcc-toolchain" is just its option to provide GCC installation.<u></u><u></u></p><p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)">I do not understand the above – that “checkbox-button” seems to be named “All compilation options” for the <u>currently selected</u> compiler/toolchain…? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)">On the other hand, I’m probably not the main customer of that tool, so my understanding is not crucial. ;-)<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(80,0,80)"><u></u> <u></u></span></p></div><div><p class="MsoNormal" style="margin-left:0.5in">Yes, I've managed to reproduce it too on my ubuntu box with "clang-13" package installed: . . . . .<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:0.5in">But that's not the clang-13 used by me and godbold, tagged as llvmorg-13.0.0 and announced on 4 October 2021. The ubuntu-packaged clang-13 uses e5f2898bc751 tip commit pushed on 27 March 2021, so it's an older version.<u></u><u></u></p><p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)">I hear you – but what about Mac? Macports Clang-13.0.0 was released only a couple of days ago. I don’t know how to check its commit level, but I strongly doubt it’s as dated as, e.g., Ubuntu release…<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:0.5in">If you want to get subject issue fixed, you can use clang-13 from here: <a href="https://github.com/llvm/llvm-project/releases/tag/llvmorg-13.0.0" target="_blank">https://github.com/llvm/llvm-project/releases/tag/llvmorg-13.0.0</a>, for instance, here is apple-darwin version: <a href="https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz" target="_blank">https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz</a><u></u><u></u></p><p class="MsoNormal"><span style="font-size:12pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)">I do, but I much prefer that Macports maintains “big” packages on my machines, and LLVM-Clang definitely qualify. Thus, I’d rather not track llvm-project on GitHub myself.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;color:rgb(0,112,192)">Can I hope that the fix Dimitry mentioned, will be in 13.0.1 that will (hopefully, eventually) filter downstream?<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p></div></div></div></div></div></div></div>
</blockquote></div></div>