public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc: Fix typo
@ 2020-04-01 17:19 Segher Boessenkool
  0 siblings, 0 replies; 6+ messages in thread
From: Segher Boessenkool @ 2020-04-01 17:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: Joerg Sonnenberger

From: Joerg Sonnenberger <joerg@bec.de>

I committed this patch for a typo spotted by Joerg Sonnenbecker:

2020-04-01  Joerg Sonnenberger  <joerg@bec.de>

	* doc/extend.texi (Common Function Attributes): Fix typo.
---
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index f1f2064..bde3748 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2545,7 +2545,7 @@ __attribute__ ((access (read_write, 1), access (read_only, 2))) char* strcat (ch
 The @code{write_only} access mode applies to arguments of pointer types
 without the @code{const} qualifier.  It specifies that the pointer to which
 it applies is used to write to the referenced object but not read from it.
-The object refrenced by the pointer need not be initialized.  An example
+The object referenced by the pointer need not be initialized.  An example
 of the use of the @code{write_only} access mode is the first argument to
 the @code{strcpy} function, or the first two arguments to the @code{fgets}
 function.
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH, doc]: Fix typo.
@ 2008-04-01  5:34 Ben Elliston
  2008-04-01 10:47 ` Tom Browder
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Elliston @ 2008-04-01  5:34 UTC (permalink / raw)
  To: gcc-patches

I'm committing the following as obvious.  I'm reasonably certain to have
got the intended meaning correct here, but if I haven't, please let me
know.  In the meantime, I don't think this patch will make things
worse. :-)

Cheers, Ben

2008-04-01  Ben Elliston  <bje@au.ibm.com>

        * doc/c-tree.texi (Function Basics): Fix grammatical error.

Index: doc/c-tree.texi
===================================================================
--- doc/c-tree.texi     (revision 133784)
+++ doc/c-tree.texi     (working copy)
@@ -1508,7 +1508,7 @@ whose @code{TREE_VALUE} represents a typ
 
 @item TYPE_NOTHROW_P
 This predicate holds when the exception-specification of its arguments
-if of the form `@code{()}'.
+is of the form `@code{()}'.
 
 @item DECL_ARRAY_DELETE_OPERATOR_P
 This predicate holds if the function an overloaded


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

end of thread, other threads:[~2020-04-01 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 17:19 [PATCH] doc: Fix typo Segher Boessenkool
  -- strict thread matches above, loose matches on Subject: below --
2008-04-01  5:34 [PATCH, doc]: " Ben Elliston
2008-04-01 10:47 ` Tom Browder
2008-04-02  2:47   ` Ben Elliston
2008-04-06 18:54     ` Gerald Pfeifer
2008-04-07 11:49       ` Tom Browder

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