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.