invoke.texi (Warning Options): Fix spelling of link-time optimization.
authorGerald Pfeifer <gerald@pfeifer.com>
Sat, 11 Mar 2017 22:00:35 +0000 (22:00 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 11 Mar 2017 22:00:35 +0000 (22:00 +0000)
* doc/invoke.texi (Warning Options): Fix spelling of link-time
optimization.
(Optimize Options): Ditto.  Also remove redundancy.

From-SVN: r246071

gcc/ChangeLog
gcc/doc/invoke.texi

index 1914004b41bbf3b25759b7ebbf1550b84a951459..ed515ee8f2a8cb8cd9970bd971819bdddb34c8a1 100644 (file)
@@ -1,3 +1,9 @@
+2017-03-11  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/invoke.texi (Warning Options): Fix spelling of link-time
+       optimization.
+       (Optimize Options): Ditto.  Also remove redundancy.
+
 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
 
        PR translation/79848
index 15eb0e0289ae47182550abe98c46033d29ebedac..2852642516b6fb388c9d2d692c2d1457cb20c5ff 100644 (file)
@@ -5134,7 +5134,7 @@ were declared with the C++11 @code{final} specifier,
 or, if possible, its type were
 declared in an anonymous namespace or with the @code{final} specifier.
 This warning is
-more effective with link time optimization, where the information about the
+more effective with link-time optimization, where the information about the
 class hierarchy graph is more complete. It is recommended to first consider
 suggestions of @option{-Wsuggest-final-types} and then rebuild with new
 annotations.
@@ -8098,7 +8098,7 @@ is enabled.
 Perform Identical Code Folding for functions and read-only variables.
 The optimization reduces code size and may disturb unwind stacks by replacing
 a function by equivalent one with a different name. The optimization works
-more effectively with link time optimization enabled.
+more effectively with link-time optimization enabled.
 
 Nevertheless the behavior is similar to Gold Linker ICF optimization, GCC ICF
 works on different levels and thus the optimizations are not same - there are
@@ -8827,7 +8827,7 @@ should specify the optimization options to be used for link-time
 optimization though GCC tries to be clever at guessing an
 optimization level to use from the options used at compile time
 if you fail to specify one at link time.  You can always override
-the automatic decision to do link-time optimization at link time
+the automatic decision to do link-time optimization
 by passing @option{-fno-lto} to the link command.
 
 To make whole program optimization effective, it is necessary to make