Commit 376d2675 by Gerald Pfeifer Committed by Gerald Pfeifer

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
parent c08de9db
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> 2017-03-10 David Malcolm <dmalcolm@redhat.com>
PR translation/79848 PR translation/79848
......
...@@ -5134,7 +5134,7 @@ were declared with the C++11 @code{final} specifier, ...@@ -5134,7 +5134,7 @@ were declared with the C++11 @code{final} specifier,
or, if possible, its type were or, if possible, its type were
declared in an anonymous namespace or with the @code{final} specifier. declared in an anonymous namespace or with the @code{final} specifier.
This warning is 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 class hierarchy graph is more complete. It is recommended to first consider
suggestions of @option{-Wsuggest-final-types} and then rebuild with new suggestions of @option{-Wsuggest-final-types} and then rebuild with new
annotations. annotations.
...@@ -8098,7 +8098,7 @@ is enabled. ...@@ -8098,7 +8098,7 @@ is enabled.
Perform Identical Code Folding for functions and read-only variables. Perform Identical Code Folding for functions and read-only variables.
The optimization reduces code size and may disturb unwind stacks by replacing The optimization reduces code size and may disturb unwind stacks by replacing
a function by equivalent one with a different name. The optimization works 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 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 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 ...@@ -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 though GCC tries to be clever at guessing an
optimization level to use from the options used at compile time optimization level to use from the options used at compile time
if you fail to specify one at link time. You can always override 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. by passing @option{-fno-lto} to the link command.
To make whole program optimization effective, it is necessary to make To make whole program optimization effective, it is necessary to make
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment