From 376d26750172c66d1bacd258d90c2e6a16c2d187 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 11 Mar 2017 22:00:35 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 6 +++--- 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 + + * doc/invoke.texi (Warning Options): Fix spelling of link-time + optimization. + (Optimize Options): Ditto. Also remove redundancy. + 2017-03-10 David Malcolm 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 -- 2.7.4