From: Tobias Burnus Date: Fri, 25 Mar 2022 09:47:49 +0000 (+0100) Subject: doc/invoke.texi: Move @ignore block out of @gccoptlist [PR103533] X-Git-Tag: basepoints/gcc-13~503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748f36a48b506f52e10bcdeb750a7fe9c30c26f3;p=thirdparty%2Fgcc.git doc/invoke.texi: Move @ignore block out of @gccoptlist [PR103533] 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'. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index afb21d9154c9..283071055412 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.