From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2209) id 9E710385AC33; Fri, 15 Jul 2022 15:30:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E710385AC33 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: David Malcolm To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1712] analyzer: documentation nits relating to new fd warnings X-Act-Checkin: gcc X-Git-Author: David Malcolm X-Git-Refname: refs/heads/master X-Git-Oldrev: 5054bc001d9b66fe68d938790f08f48621c6b976 X-Git-Newrev: b1d07b50d43e954b0c6a2b85079ce0fdf5e77ec5 Message-Id: <20220715153011.9E710385AC33@sourceware.org> Date: Fri, 15 Jul 2022 15:30:11 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2022 15:30:11 -0000 https://gcc.gnu.org/g:b1d07b50d43e954b0c6a2b85079ce0fdf5e77ec5 commit r13-1712-gb1d07b50d43e954b0c6a2b85079ce0fdf5e77ec5 Author: David Malcolm Date: Fri Jul 15 11:28:34 2022 -0400 analyzer: documentation nits relating to new fd warnings gcc/ChangeLog: * doc/invoke.texi (Static Analyzer Options): Add the new fd warnings to the initial gccoptlist, and to the list of those disabled by -fanalyzer-checker=taint. Signed-off-by: David Malcolm Diff: --- gcc/doc/invoke.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d5ff1018372..84d6f0f9860 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -446,6 +446,11 @@ Objective-C and Objective-C++ Dialects}. -Wno-analyzer-double-fclose @gol -Wno-analyzer-double-free @gol -Wno-analyzer-exposure-through-output-file @gol +-Wno-analyzer-fd-access-mode-mismatch @gol +-Wno-analyzer-fd-double-close @gol +-Wno-analyzer-fd-leak @gol +-Wno-analyzer-fd-use-after-close @gol +-Wno-analyzer-fd-use-without-check @gol -Wno-analyzer-file-leak @gol -Wno-analyzer-free-of-non-heap @gol -Wno-analyzer-malloc-leak @gol @@ -10231,6 +10236,11 @@ following warnings from @option{-fanalyzer}: -Wanalyzer-double-fclose @gol -Wanalyzer-double-free @gol -Wanalyzer-exposure-through-output-file @gol +-Wanalyzer-fd-access-mode-mismatch @gol +-Wanalyzer-fd-double-close @gol +-Wanalyzer-fd-leak @gol +-Wanalyzer-fd-use-after-close @gol +-Wanalyzer-fd-use-without-check @gol -Wanalyzer-file-leak @gol -Wanalyzer-free-of-non-heap @gol -Wanalyzer-malloc-leak @gol