[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcc -fanalyze
From: |
Bruno Haible |
Subject: |
gcc -fanalyze |
Date: |
Sat, 09 May 2020 23:27:09 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Hi all, volunteers,
GCC 10 has a new static analysis pass [1][2]. I compiled a gnulib testdir with
CC="gcc -fanalyze". Find attached the part of the log that compiles the gllib/
directory. (The log of the gltests/ directory is uninteresting: here gcc reports
mostly cases where memory was allocated with malloc(), not xmalloc().)
If you can help distinguish valid findings from false reports, please report
your evaluations.
When you report a valid finding, you don't need to provide a fix; we can do
that.
Bruno
[1] https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10/
[2] https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Static-Analyzer-Options.html
fanalyze-log.xz
Description: application/xz
- gcc -fanalyze,
Bruno Haible <=