public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc: Fix typo in -Wall description
@ 2023-02-17 13:41 Siddhesh Poyarekar
  2023-02-17 19:43 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Siddhesh Poyarekar @ 2023-02-17 13:41 UTC (permalink / raw)
  To: gcc-patches

-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(-)

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}
-- 
2.38.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: Fix typo in -Wall description
  2023-02-17 13:41 [PATCH] doc: Fix typo in -Wall description Siddhesh Poyarekar
@ 2023-02-17 19:43 ` Jeff Law
  2023-02-17 21:15   ` Siddhesh Poyarekar
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-02-17 19:43 UTC (permalink / raw)
  To: Siddhesh Poyarekar, gcc-patches



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: Fix typo in -Wall description
  2023-02-17 19:43 ` Jeff Law
@ 2023-02-17 21:15   ` Siddhesh Poyarekar
  0 siblings, 0 replies; 3+ messages in thread
From: Siddhesh Poyarekar @ 2023-02-17 21:15 UTC (permalink / raw)
  To: Jeff Law, gcc-patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-17 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 13:41 [PATCH] doc: Fix typo in -Wall description Siddhesh Poyarekar
2023-02-17 19:43 ` Jeff Law
2023-02-17 21:15   ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).