Message ID | 20230217134130.2565745-1-siddhesh@gotplt.org |
---|---|
State | New |
Headers | show |
Series | doc: Fix typo in -Wall description | expand |
On 2/17/23 06:41, Siddhesh Poyarekar wrote: > -Wall enables -Wuse-after-free=2 and not -Wuse-after-free=3. > > gcc/ChangeLog: > > * gcc/doc/invoke.texi (@item -Wall): Fix typo in > -Wuse-after-free. Looks obvious to me. If you haven't committed it already, go ahead. jeff
On 2023-02-17 14:43, Jeff Law wrote: > > > On 2/17/23 06:41, Siddhesh Poyarekar wrote: >> -Wall enables -Wuse-after-free=2 and not -Wuse-after-free=3. >> >> gcc/ChangeLog: >> >> * gcc/doc/invoke.texi (@item -Wall): Fix typo in >> -Wuse-after-free. > Looks obvious to me. If you haven't committed it already, go ahead. Pushed, thanks. Sid
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 51447a78584..20d41e19b3c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6083,7 +6083,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}
-Wall enables -Wuse-after-free=2 and not -Wuse-after-free=3. gcc/ChangeLog: * gcc/doc/invoke.texi (@item -Wall): Fix typo in -Wuse-after-free. Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org> --- gcc/doc/invoke.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)