[LLVMbugs] [Bug 22063] New: -fsanitize=undefined causes very long compile time (signed-integer-overflow)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 30 06:42:35 PST 2014


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: unassignedclangbugs at nondot.org
          Reporter: oliverst at online.de
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141230/98acc39d/attachment.html>


More information about the llvm-bugs mailing list