bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils and GCC -fanalyzer


From: Pádraig Brady
Subject: Re: coreutils and GCC -fanalyzer
Date: Sat, 11 Jul 2020 15:26:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.0

On 11/07/2020 01:58, Paul Eggert wrote:
On 7/10/20 2:21 PM, Pádraig Brady wrote:

I'd be inclined to not enable -fanalyzer by default.
At least not until it matures more.
-fanalyzer didn't find any actual issues in coreutils,

Yes, the only bug I found related to coreutils:

https://gmplib.org/list-archives/gmp-bugs/2020-July/004844.html

is a bug in library code that coreutils never triggers.

I'd be inclined to not enable -fanalyzer by default.

I installed the attached patch into coreutils; will that do? The basic idea is
that you get -fanalyzer only if you configure with the new
--enable-gcc-warnings=expensive option.

That's better, for coreutils at least.
It's good that you included all fanalyzer related options set by gnulib,
as that allows projects to more easily control those themselves.

thanks!
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]