public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3748] docs: update: document sanitizers can trigger warnings
@ 2022-11-07  8:55 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-11-07  8:55 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a8fb90eb3949bfb101bd6f50f24a029e10119591

commit r13-3748-ga8fb90eb3949bfb101bd6f50f24a029e10119591
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Nov 7 09:54:09 2022 +0100

    docs: update: document sanitizers can trigger warnings
    
    gcc/ChangeLog:
    
            * doc/invoke.texi: Improve wording.
    
    Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>

Diff:
---
 gcc/doc/invoke.texi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4a0fbca938e..94a2e20cfc1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -16502,9 +16502,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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-07  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07  8:55 [gcc r13-3748] docs: update: document sanitizers can trigger warnings Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).