[llvm-bugs] [Bug 40263] New: scan-build: ignore -fvar-tracking{-assignments}

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 8 22:58:21 PST 2019


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

            Bug ID: 40263
           Summary: scan-build: ignore -fvar-tracking{-assignments}
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dimhen at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

$ scan-build gcc -g -fvar-tracking-assignments -c x.c 
scan-build: Using '/usr/local/llvm_current/bin/clang-7' for static analysis
could not find clang line
scan-build: Removing directory '/tmp/scan-build-2019-01-09-095630-7494-1'
because it contains no reports.
scan-build: No bugs found.

$ scan-build gcc -g -fvar-tracking -c x.c 
scan-build: Using '/usr/local/llvm_current/bin/clang-7' for static analysis
could not find clang line
scan-build: Removing directory '/tmp/scan-build-2019-01-09-095458-7457-1'
because it contains no reports.
scan-build: No bugs found.

$ scan-build gcc -c x.c 
scan-build: Using '/usr/local/llvm_current/bin/clang-7' for static analysis
scan-build: Removing directory '/tmp/scan-build-2019-01-09-095256-7414-1'
because it contains no reports.
scan-build: No bugs found.

$ clang -v
clang version 8.0.0 (trunk 350693)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/llvm_current/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/8
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/8
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
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/20190109/ce4c74bf/attachment.html>


More information about the llvm-bugs mailing list