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

Attachment: fanalyze-log.xz
Description: application/xz

Reply via email to