<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 - clang7 hangs with x64 and O2"
   href="https://bugs.llvm.org/show_bug.cgi?id=43932">43932</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang7 hangs with x64 and O2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>zeno490@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,
This bug was found in Realtime Math:
<a href="https://github.com/nfrechette/rtm/issues/37">https://github.com/nfrechette/rtm/issues/37</a>
But it is also present in the Animation Compression Library which has similar
code.

To reproduce the issue, simply grab the 'develop' branch of RTM and make sure
to grab the submodules as well.

python make.py -compiler clang7 -cpu x64 -config release -nosimd -build
-unit_test -clean

You will need CMake and python2/3.

The compiler hangs while compiling the unit tests and does not terminate even
if I let it run for 20-30min. This is under Ubuntu Xenial and clang version
7.1.0.

Other clang versions take 2mins at most for this, same with MSVC and GCC.

The issue does not happen if SSE or AVX is used (without -nosimd or with -avx
instead, respectively). This only happens when intrinsics are explicitly
disabled. It also doesn't happen with the debug configuration or with x86.

Cheers,
Nicholas</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>