Subject: Re: GCC 10 analyzer findings

Re: GCC 10 analyzer findings

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 18 Jul 2020 12:55:57 +0200 (CEST)

On Sat, 18 Jul 2020, Jeffrey Walton wrote:

> I'm testing on Fedora 32, which provides GCC 10.1. GCC 10 offers an
> analyzer. You can engage the analyzer with -fanalyzer.

I didn't actually try to understand these exact issues but just want to
emphasize that these are still early days for the -fanalyzer option.

I spent significant time on the issues it found in curl and they all ended up
false positives (without any proper and non-introsive way to silence them).
For this reason I do not yet enable gcc -fanalyzer in any CI builds in my
projects.

-- 
  / daniel.haxx.se
Received on 2020-07-18