aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2017-03-11 22:00:35 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2017-03-11 22:00:35 +0000
commit376d26750172c66d1bacd258d90c2e6a16c2d187 (patch)
treeeb2f32ba968a7d2118647c831c7b1922a00113d4 /gcc
parentc08de9db47cea407e4399c987d2b8b9b6a6413ed (diff)
downloadgcc-376d26750172c66d1bacd258d90c2e6a16c2d187.zip
gcc-376d26750172c66d1bacd258d90c2e6a16c2d187.tar.gz
gcc-376d26750172c66d1bacd258d90c2e6a16c2d187.tar.bz2
invoke.texi (Warning Options): Fix spelling of link-time optimization.
* doc/invoke.texi (Warning Options): Fix spelling of link-time optimization. (Optimize Options): Ditto. Also remove redundancy. From-SVN: r246071
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1914004..ed515ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 15eb0e0..2852642 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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