aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2011-01-30 22:25:31 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2011-01-30 22:25:31 +0000
commitc4c8962b49da1e2f98eba05f45211ad4b03eabd8 (patch)
tree73163426036594569d308de4f8d3022cb7cfcda0
parente543b94c18e8dd85b3ab05f6b07bae777abb7643 (diff)
downloadgcc-c4c8962b49da1e2f98eba05f45211ad4b03eabd8.zip
gcc-c4c8962b49da1e2f98eba05f45211ad4b03eabd8.tar.gz
gcc-c4c8962b49da1e2f98eba05f45211ad4b03eabd8.tar.bz2
extend.texi: Follow spelling conventions.
* doc/extend.texi: Follow spelling conventions. * doc/invoke.texi: Fix a typo. From-SVN: r169420
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi6
-rw-r--r--gcc/doc/invoke.texi2
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index da0a108..33f73a8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-30 Kazu Hirata <kazu@codesourcery.com>
+
+ * doc/extend.texi: Follow spelling conventions.
+ * doc/invoke.texi: Fix a typo.
+
2011-01-30 Joseph Myers <joseph@codesourcery.com>
* config/hpux11.opt: New.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index a1da1cf..cf025bd 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -13649,9 +13649,9 @@ The C++ standard differs from the C standard in its treatment of
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 functions returning volatile
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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f2e672a..93e01f8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7690,7 +7690,7 @@ This option enables the extraction of object files with GIMPLE bytecode out of
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.