]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix typo in -Wall description
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Fri, 17 Feb 2023 14:06:59 +0000 (09:06 -0500)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Fri, 17 Feb 2023 21:15:07 +0000 (16:15 -0500)
-Wall enables -Wuse-after-free=2 and not -Wuse-after-free=3.

gcc/ChangeLog:

* doc/invoke.texi (@item -Wall): Fix typo in
-Wuse-after-free.

Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
gcc/doc/invoke.texi

index 7b308cd3c3140543213dda3a566dcf291ff71f47..a5ea86f68c9faf7baf166827363c6c78955b4547 100644 (file)
@@ -6087,7 +6087,7 @@ Options} and @ref{Objective-C and Objective-C++ Dialect Options}.
 -Wunused-label     @gol
 -Wunused-value     @gol
 -Wunused-variable  @gol
--Wuse-after-free=3  @gol
+-Wuse-after-free=2  @gol
 -Wvla-parameter @r{(C and Objective-C only)} @gol
 -Wvolatile-register-var  @gol
 -Wzero-length-bounds}