From 748f36a48b506f52e10bcdeb750a7fe9c30c26f3 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Fri, 25 Mar 2022 10:47:49 +0100 Subject: [PATCH] doc/invoke.texi: Move @ignore block out of @gccoptlist [PR103533] MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit With TeX output ("make pdf"), @gccoptlist's content end up in a single line such that TeX does not find the matching '@end ignore' for the '@ignore' block – failing with a runaway error. Solution is to move the @ignore block after the closing '}'. (Follow up to r12-7808-g319ba7e241e7e21f9eb481f075310796f13d2035 ) gcc/ PR analyzer/103533 * doc/invoke.texi (Static Analyzer Options): Move @ignore block after @gccoptlist's '}' for 'make pdf'. --- gcc/doc/invoke.texi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index afb21d9..2830710 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9667,13 +9667,6 @@ Enabling this option effectively enables the following warnings: -Wanalyzer-shift-count-negative @gol -Wanalyzer-shift-count-overflow @gol -Wanalyzer-stale-setjmp-buffer @gol -@ignore --Wanalyzer-tainted-allocation-size @gol --Wanalyzer-tainted-array-index @gol --Wanalyzer-tainted-divisor @gol --Wanalyzer-tainted-offset @gol --Wanalyzer-tainted-size @gol -@end ignore -Wanalyzer-unsafe-call-within-signal-handler @gol -Wanalyzer-use-after-free @gol -Wanalyzer-use-of-pointer-in-stale-stack-frame @gol @@ -9681,6 +9674,13 @@ Enabling this option effectively enables the following warnings: -Wanalyzer-write-to-const @gol -Wanalyzer-write-to-string-literal @gol } +@ignore +-Wanalyzer-tainted-allocation-size @gol +-Wanalyzer-tainted-array-index @gol +-Wanalyzer-tainted-divisor @gol +-Wanalyzer-tainted-offset @gol +-Wanalyzer-tainted-size @gol +@end ignore This option is only available if GCC was configured with analyzer support enabled. -- 2.7.4