From 02a9370c66bab014d6b746af354abc392109f710 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 28 Feb 2010 12:50:39 +0000 Subject: Fix typos in documentation. gcc/: * doc/invoke.texi (Warning Options, RX Options): Fix typos. (Warning Options): -Wno-conversion-null is valid for Objective-C++ as well. * doc/tm.texi (Named Address Spaces): Likewise. * doc/plugins.texi (Plugins): Replace TABs with spaces. * doc/tree-ssa.texi (Tree SSA): Likewise. From-SVN: r157121 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/invoke.texi | 8 ++++---- gcc/doc/plugins.texi | 12 ++++++------ gcc/doc/tm.texi | 2 +- gcc/doc/tree-ssa.texi | 2 +- 5 files changed, 21 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09606c1..d80793f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2010-02-28 Ralf Wildenhues + + * doc/invoke.texi (Warning Options, RX Options): Fix typos. + (Warning Options): -Wno-conversion-null is valid for + Objective-C++ as well. + * doc/tm.texi (Named Address Spaces): Likewise. + * doc/plugins.texi (Plugins): Replace TABs with spaces. + * doc/tree-ssa.texi (Tree SSA): Likewise. + 2010-02-27 H.J. Lu PR bootstrap/43202 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 36580fb..768347d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -3514,7 +3514,7 @@ incomplete types. Runs in the frontend only. Level 3 (default for @option{-Wstrict-aliasing}): Should have very few false positives and few false negatives. Slightly slower than levels 1 or 2 when optimization is enabled. -Takes care of the common punn+dereference pattern in the frontend: +Takes care of the common pun+dereference pattern in the frontend: @code{*(int*)&some_float}. If optimization is enabled, it also runs in the backend, where it deals with multiple statement cases using flow-sensitive points-to information. @@ -3877,7 +3877,7 @@ reference to them. Warnings about conversions between signed and unsigned integers are disabled by default in C++ unless @option{-Wsign-conversion} is explicitly enabled. -@item -Wno-conversion-null @r{(C++)} +@item -Wno-conversion-null @r{(C++ and Objective-C++ only)} @opindex Wconversion-null @opindex Wno-conversion-null Do not warn for conversions between @code{NULL} and non-pointer @@ -15584,7 +15584,7 @@ default option. @item -mmax-constant-size=@var{N} @opindex mmax-constant-size -Specifies the maxium size, in bytes, of a constant that can be used as +Specifies the maximum size, in bytes, of a constant that can be used as an operand in a RX instruction. Although the RX instruction set does allow constants of up to 4 bytes in length to be used in instructions, a longer value equates to a longer instruction. Thus in some @@ -15605,7 +15605,7 @@ versions of various instructions. Disabled by default. @opindex mint-register Specify the number of registers to reserve for fast interrupt handler functions. The value @var{N} can be between 0 and 4. A value of 1 -means that register @code{r13} will be reserved for ther exclusive use +means that register @code{r13} will be reserved for the exclusive use of fast interrupt handlers. A value of 2 reserves @code{r13} and @code{r12}. A value of 3 reserves @code{r13}, @code{r12} and @code{r11}, and a value of 4 reserves @code{r13} through @code{r10}. diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi index 35f1b70..a1ca1de 100644 --- a/gcc/doc/plugins.texi +++ b/gcc/doc/plugins.texi @@ -148,14 +148,14 @@ enum plugin_event PLUGIN_PRE_GENERICIZE, /* Allows to see low level AST in C and C++ frontends. */ PLUGIN_FINISH, /* Called before GCC exits. */ PLUGIN_INFO, /* Information about the plugin. */ - PLUGIN_GGC_START, /* Called at start of GCC Garbage Collection. */ - PLUGIN_GGC_MARKING, /* Extend the GGC marking. */ - PLUGIN_GGC_END, /* Called at end of GGC. */ - PLUGIN_REGISTER_GGC_ROOTS, /* Register an extra GGC root table. */ - PLUGIN_REGISTER_GGC_CACHES, /* Register an extra GGC cache table. */ + PLUGIN_GGC_START, /* Called at start of GCC Garbage Collection. */ + PLUGIN_GGC_MARKING, /* Extend the GGC marking. */ + PLUGIN_GGC_END, /* Called at end of GGC. */ + PLUGIN_REGISTER_GGC_ROOTS, /* Register an extra GGC root table. */ + PLUGIN_REGISTER_GGC_CACHES, /* Register an extra GGC cache table. */ PLUGIN_ATTRIBUTES, /* Called during attribute registration */ PLUGIN_START_UNIT, /* Called before processing a translation unit. */ - PLUGIN_PRAGMAS, /* Called during pragma registration. */ + PLUGIN_PRAGMAS, /* Called during pragma registration. */ /* Called before first pass from all_passes. */ PLUGIN_ALL_PASSES_START, /* Called after last pass from all_passes. */ diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 7d65954..2ad07f7 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9856,7 +9856,7 @@ address spaces other than the default address space. These address spaces are new keywords that are similar to the @code{volatile} and @code{const} type attributes. -Pointers to named address spaces can a a different size than +Pointers to named address spaces can have a different size than pointers to the generic address space. For example, the SPU port uses the @code{__ea} address space to refer diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index ebb85a0..cae3cec 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -38,7 +38,7 @@ passes for GIMPLE@. @menu * Annotations:: Attributes for variables. -* SSA Operands:: SSA names referenced by GIMPLE statements. +* SSA Operands:: SSA names referenced by GIMPLE statements. * SSA:: Static Single Assignment representation. * Alias analysis:: Representing aliased loads and stores. * Memory model:: Memory model used by the middle-end. -- cgit v1.1