[llvm-bugs] [Bug 37217] New: scan-build runs forever on specific file

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 23 13:58:27 PDT 2018


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

            Bug ID: 37217
           Summary: scan-build runs forever on specific file
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: david.tyler at redlinetrading.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20214
  --> https://bugs.llvm.org/attachment.cgi?id=20214&action=edit
C code that reproduces the problem

When building the attached file with:

scan-build --status-bugs clang -I../include itoa.c -c -o itoa.o

The tool runs for a very long (possibly infinite?) amount of time. I suspect
that it has to do with the "..." extension used in the case statements. The
process continues running after it has consumed all system memory and swap.

-- 
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/20180423/0543a57e/attachment.html>


More information about the llvm-bugs mailing list