http://llvm.org/bugs/show_bug.cgi?id=22063

            Bug ID: 22063
           Summary: -fsanitize=undefined causes very long compile time
                    (signed-integer-overflow)
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

When using -fsanitize=undefined I have very long compile times (I am not sure
it ever finished at all) on some files. This issue refers to issues with the
signed-integer-overflow check (on a side note this file also takes a long time
to compile when the vptr check is enabled).

Since the file is question is quite big and has lots of dependencies it's
almost impossible to minimize it. I attached the preprocessed C source code.
The .s is still being written.

I am using the official binary for ubuntu 14.04
(clang+llvm-3.5.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz).

clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.1
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Candidate multilib: .;@m64
Selected multilib: .;@m64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to