summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-04-26 17:14:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-04-26 18:20:20 -0700
commit35adc746a000ac1f8d1d817a6a3a60d5b80daef5 (patch)
tree0169c54f10dd49180d1007dfcf7b970bc161424e
parent21e757350896da0a42d03e9f9738d54473f74a9f (diff)
downloadcoreutils-35adc746a000ac1f8d1d817a6a3a60d5b80daef5.tar.gz
maint: simplify --enable-gcc-warnings='expensive'
* configure.ac (WERROR_CFLAGS): Omit mention of -Wno-analyzer-double-free, -Wno-analyzer-null-dereference, and -Wno-analyzer-use-after-free as manywarnings no longer uses them.
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 664d25ec6..f61076d2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,8 +160,7 @@ if test $gl_gcc_warnings != no; then
ew=
AS_IF([test $gl_gcc_warnings != expensive],
[# -fanalyzer and related options slow GCC considerably.
- ew="$ew -fanalyzer -Wno-analyzer-double-free -Wno-analyzer-malloc-leak"
- ew="$ew -Wno-analyzer-null-dereference -Wno-analyzer-use-after-free"])
+ ew="$ew -fanalyzer -Wno-analyzer-malloc-leak"])
# This, $nw, is the list of warnings we disable.
nw=$ew