aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/cpp.texi4
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/doc/tm.texi2
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index 6aaea59..8d5bde7 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -3604,11 +3604,11 @@ including extensions, with the exception that the effects of
__STDC__ is not defined.
@item
-If you use digraphs the behaviour is undefined.
+If you use digraphs the behavior is undefined.
@item
If a line that looks like a directive appears within macro arguments,
-the behaviour is undefined.
+the behavior is undefined.
@end itemize
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9a8fa2a..607a08a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1784,7 +1784,7 @@ file named @file{@var{sourcename}.decl}.
@opindex Wno-protocol
If a class is declared to implement a protocol, a warning is issued for
every method in the protocol that is not implemented by the class. The
-default behaviour is to issue a warning for every method not explicitly
+default behavior is to issue a warning for every method not explicitly
implemented in the class, even if a method implementation is inherited
from the superclass. If you use the @code{-Wno-protocol} option, then
methods inherited from the superclass are considered to be implemented,
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 4cbaeb7..a0396bc 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -1429,7 +1429,7 @@ alignment of the underlying types of itself and of the previous
bit-field; (ii) a zero-sized bit-field will affect the alignment of
the whole enclosing structure, even if it is unnamed; except that
(iii) a zero-sized bit-field will be disregarded unless it follows
-another bit-field of non-zero size. If this hook returns @code{true},
+another bit-field of nonzero size. If this hook returns @code{true},
other macros that control bit-field layout are ignored.
When a bit-field is inserted into a packed record, the whole size