From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 31DED3858416; Fri, 20 Jan 2023 18:50:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31DED3858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674240612; bh=Cc6e8QkZcAv0CMrPP4xpzWB69FpOuKaEzy1D92xGJEY=; h=From:To:Subject:Date:From; b=fOgNG2KUN7rUjIXRDTZyngmFLYcpWymb19Ghv8K77s9so+dS0gorP8lmX4oVC/z/5 2kLn4uJSax44teH8dhzUe1fsmG4CuR91kk/AlSz2rLZ4tHiz4KTHwdaT9zIFJKbpn1 JUliLREuULqJaWUswtdOUqyXXHmzdbYvEgvitqvM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] [docs] note that -g opts are implicitly negatable too X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 3c99493bf39a7fef9213e6f5af94b78bb15fcfdc X-Git-Newrev: 43ad467068ca53d8c87680797dbd8283dd271d82 Message-Id: <20230120185012.31DED3858416@sourceware.org> Date: Fri, 20 Jan 2023 18:50:12 +0000 (GMT) List-Id: https://gcc.gnu.org/g:43ad467068ca53d8c87680797dbd8283dd271d82 commit 43ad467068ca53d8c87680797dbd8283dd271d82 Author: Alexandre Oliva Date: Fri Jan 20 15:41:37 2023 -0300 [docs] note that -g opts are implicitly negatable too Back in 2017, I made -g* options implicitly negatable, without realizing there was documentation that required updating. Oops. Fixed, at last! for gcc/ChangeLog * doc/options.texi (option, RejectNegative): Mention that -g-started options are also implicitly negatable. Diff: --- gcc/doc/options.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index c6e73fd1818..f50063c9787 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -161,7 +161,7 @@ the help text to use for @option{--help} (omitted if the second field contains the @code{Undocumented} property). @end enumerate -By default, all options beginning with ``f'', ``W'' or ``m'' are +By default, all options beginning with ``f'', ``g'', ``W'' or ``m'' are implicitly assumed to take a ``no-'' form. This form should not be listed separately. If an option beginning with one of these letters does not have a ``no-'' form, you can use the @code{RejectNegative} @@ -239,8 +239,8 @@ and should not be accepted by the driver. @item RejectNegative The option does not have a ``no-'' form. All options beginning with -``f'', ``W'' or ``m'' are assumed to have a ``no-'' form unless this -property is used. +``f'', ``g'', ``W'' or ``m'' are assumed to have a ``no-'' form unless +this property is used. @item Negative(@var{othername}) The option will turn off another option @var{othername}, which is