aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-11-07 09:55:28 +0100
committerMartin Liska <mliska@suse.cz>2022-11-07 09:55:28 +0100
commit33f5dde0cd15df9cf89b29280d4ff5fcf7b30e66 (patch)
treed7311de992568a7d952a4e9af8891041d34394c4 /gcc/doc
parent1b09b78ee61bd921ae78ebd0f7905b95b9e1c903 (diff)
parenta8fb90eb3949bfb101bd6f50f24a029e10119591 (diff)
downloadgcc-33f5dde0cd15df9cf89b29280d4ff5fcf7b30e66.zip
gcc-33f5dde0cd15df9cf89b29280d4ff5fcf7b30e66.tar.gz
gcc-33f5dde0cd15df9cf89b29280d4ff5fcf7b30e66.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b9a5640..b2083ec 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -16464,9 +16464,10 @@ by this option.
@end table
-Note the enabled sanitizer options tend to increase a false-positive rate
-of selected warnings, most notably @option{-Wmaybe-uninitialized}.
-And thus we recommend to disable @option{-Werror}.
+Note that sanitizers tend to increase the rate of false positive
+warnings, most notably those around @option{-Wmaybe-uninitialized}.
+We recommend against combining @option{-Werror} and [the use of]
+sanitizers.
While @option{-ftrapv} causes traps for signed overflows to be emitted,
@option{-fsanitize=undefined} gives a diagnostic message.