Patchwork doc: Fix typos and follow spelling conventions.

login
register
mail settings
Submitter Kazu Hirata
Date Jan. 30, 2011, 10:26 p.m.
Message ID <20110130222610.4A80C5664FB@henry1.codesourcery.com>
Download mbox | patch
Permalink /patch/81047/
State New
Headers show

Comments

Kazu Hirata - Jan. 30, 2011, 10:26 p.m.
Hi,

Committed as obvious.

Kazu Hirata

2011-01-30  Kazu Hirata  <kazu@codesourcery.com>

	* doc/extend.texi: Follow spelling conventions.
	* doc/invoke.texi: Fix a typo.

Patch

Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 169419)
+++ gcc/doc/extend.texi	(working copy)
@@ -13649,9 +13649,9 @@  The C++ standard differs from the C stan
 volatile objects.  It fails to specify what constitutes a volatile
 access, except to say that C++ should behave in a similar manner to C
 with respect to volatiles, where possible.  However, the different
-lvalueness of expressions between C and C++ complicate the behaviour.
+lvalueness of expressions between C and C++ complicate the behavior.
 G++ behaves the same as GCC for volatile access, @xref{C
-Extensions,,Volatiles}, for a description of GCC's behaviour.
+Extensions,,Volatiles}, for a description of GCC's behavior.
 
 The C and C++ language specifications differ when an object is
 accessed in a void context:
@@ -13681,7 +13681,7 @@  possible to ignore the return value from
 references.  Again, if you wish to force a read, cast the reference to
 an rvalue.
 
-G++ implements the same behaviour as GCC does when assigning to a
+G++ implements the same behavior as GCC does when assigning to a
 volatile object -- there is no reread of the assigned-to object, the
 assigned rvalue is reused.  Note that in C++ assignment expressions
 are lvalues, and if used as an lvalue, the volatile object will be
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 169419)
+++ gcc/doc/invoke.texi	(working copy)
@@ -7690,7 +7690,7 @@  This option enables the extraction of ob
 library archives. This improves the quality of optimization by exposing more
 code the the link time optimizer.  This information specify what symbols 
 can be accessed externally (by non-LTO object or during dynamic linking).
-Resulting code quality improvements on binaries (and shared libaries that do
+Resulting code quality improvements on binaries (and shared libraries that do
 use hidden visibility) is similar to @code{-fwhole-program}.  See
 @option{-flto} for a description on the effect of this flag and how to use it.