Hi, in his review of the next patch of this series, Honza pointed out that the path did not include documentation of a parameter it was adding. When I set out to correct this I found out I had already been guilty of not adding documentation of four other parameters before.
I'd like to correct this by this separate patch which I'd like to propose also for 4.9 because it is missing there as well. Checked by running make info. OK for both branches? Thanks, Martin 2014-05-16 Martin Jambor <mjam...@suse.cz> * doc/invoke.texi (Optimize Options): Document parameters ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus. Index: src/gcc/doc/invoke.texi =================================================================== --- src.orig/gcc/doc/invoke.texi +++ src/gcc/doc/invoke.texi @@ -10076,6 +10076,28 @@ parameter in order to propagate them and @option{ipa-cp-value-list-size} is the maximum number of values and types it stores per one formal parameter of a function. +@item ipa-cp-eval-threshold +IPA-CP calculates its own score of cloning profitability heuristics +and performs those cloning opportunities with scores that exceed +@option{ipa-cp-eval-threshold}. + +@item ipa-max-agg-items +IPA-CP is also capable to propagate a number of scalar values passed +in an aggregate. @option{ipa-max-agg-items} controls the maximum +number of such values per one parameter. + +@item ipa-cp-loop-hint-bonus +When IPA-CP determines that a cloning candidate would make the number +of iterations of a loop known, it adds a bonus of +@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of +the candidate. + +@item ipa-cp-array-index-hint-bonus +When IPA-CP determines that a cloning candidate would make the index of +an array access known, it adds a bonus of +@option{ipa-cp-array-index-hint-bonus} bonus to the profitability +score of the candidate. + @item lto-partitions Specify desired number of partitions produced during WHOPR compilation. The number of partitions should exceed the number of CPUs used for compilation.