From: Andi Kleen <a...@gcc.gnu.org>

Document new params in invoke.texi.

The auto tuning description was on the wrong tunable, move to lines.

Comitted as obvious.

gcc/ChangeLog:

        * doc/invoke.texi: Document file cache tunables.
        * params.opt: Move auto tuning description to lines.
---
 gcc/doc/invoke.texi | 10 ++++++++++
 gcc/params.opt      |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index dddde54a287d..9050ffa59dd0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -13010,6 +13010,16 @@ having large chains of nested wrapper functions.
 
 Enabled by default.
 
+@item -ffile-cache-files=
+Max number of files in the file cache.
+The file cache is used to print source lines in diagnostics and do some
+source checks like @option{-Wmisleading-indentation}.
+
+@item -ffile-cache-files=
+Max number of lines to index into file cache. When 0 this is automatically 
sized.
+The file cache is used to print source lines in diagnostics and do some
+source checks like @option{-Wmisleading-indentation}.
+
 @opindex fipa-sra
 @item -fipa-sra
 Perform interprocedural scalar replacement of aggregates, removal of
diff --git a/gcc/params.opt b/gcc/params.opt
index d84e35679e6d..4f4eb4d7a2a5 100644
--- a/gcc/params.opt
+++ b/gcc/params.opt
@@ -136,11 +136,11 @@ Maximal estimated growth of function body caused by early 
inlining of single cal
 
 -param=file-cache-files=
 Common Joined UInteger Var(param_file_cache_files) Init(16) Param
-Max number of files in the file cache. When 0 this is automatically sized.
+Max number of files in the file cache.
 
 -param=file-cache-lines=
 Common Joined UInteger Var(param_file_cache_lines) Init(0) Param
-Max number of lines to index into file cache.
+Max number of lines to index into file cache. When 0 this is automatically 
sized.
 
 -param=fsm-scale-path-stmts=
 Common Joined UInteger Var(param_fsm_scale_path_stmts) Init(2) IntegerRange(1, 
10) Param Optimization
-- 
2.48.1

Reply via email to