bug-gnulib
[Top][All Lists]
Advanced

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

Re: coreutils and GCC -fanalyzer


From: Paul Eggert
Subject: Re: coreutils and GCC -fanalyzer
Date: Fri, 10 Jul 2020 17:58:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

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.

Attachment: 0001-build-be-less-aggressive-about-fanalyzer.patch
Description: Text Data


reply via email to

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