https://bugs.llvm.org/show_bug.cgi?id=43932

            Bug ID: 43932
           Summary: clang7 hangs with x64 and O2
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Hello,
This bug was found in Realtime Math:
https://github.com/nfrechette/rtm/issues/37
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to