public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc: tfix
@ 2023-04-20 17:18 Alejandro Colomar
  2023-04-20 18:08 ` Arsen Arsenović
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2023-04-20 17:18 UTC (permalink / raw)
  To: gcc-patches; +Cc: Alejandro Colomar

Remove repeated word (typo).

Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 gcc/doc/extend.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index fd3745c5608..cdfb25ff272 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3756,7 +3756,7 @@ take function pointer arguments.
 The @code{optimize} attribute is used to specify that a function is to
 be compiled with different optimization options than specified on the
 command line.  The optimize attribute arguments of a function behave
-behave as if appended to the command-line.
+as if appended to the command-line.
 
 Valid arguments are constant non-negative integers and
 strings.  Each numeric argument specifies an optimization @var{level}.
-- 
2.40.0


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

* Re: [PATCH] doc: tfix
  2023-04-20 17:18 [PATCH] doc: tfix Alejandro Colomar
@ 2023-04-20 18:08 ` Arsen Arsenović
  0 siblings, 0 replies; 2+ messages in thread
From: Arsen Arsenović @ 2023-04-20 18:08 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Alejandro Colomar, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]


Alejandro Colomar via Gcc-patches <gcc-patches@gcc.gnu.org> writes:

> Remove repeated word (typo).
>
> Signed-off-by: Alejandro Colomar <alx@kernel.org>
> ---
>  gcc/doc/extend.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
> index fd3745c5608..cdfb25ff272 100644
> --- a/gcc/doc/extend.texi
> +++ b/gcc/doc/extend.texi
> @@ -3756,7 +3756,7 @@ take function pointer arguments.
>  The @code{optimize} attribute is used to specify that a function is to
>  be compiled with different optimization options than specified on the
>  command line.  The optimize attribute arguments of a function behave
> -behave as if appended to the command-line.
> +as if appended to the command-line.
>  
>  Valid arguments are constant non-negative integers and
>  strings.  Each numeric argument specifies an optimization @var{level}.

Please include a ChangeLog like the following:

gcc/ChangeLog:

	* doc/extend.texi (Common Function Attributes): Remove duplicate
	word.

I can add that and push for you, if you agree.

Thanks, have a most lovely night!
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

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

end of thread, other threads:[~2023-04-20 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 17:18 [PATCH] doc: tfix Alejandro Colomar
2023-04-20 18:08 ` Arsen Arsenović

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