From: Andi Kleen Date: Tue, 4 Feb 2025 16:42:36 +0000 (-0800) Subject: Fix file cache tunables documentation X-Git-Tag: basepoints/gcc-16~2196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a506abfa07bbc4298bf6a2d73e25051c8496dc46;p=thirdparty%2Fgcc.git Fix file cache tunables documentation 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. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index dddde54a287..9050ffa59dd 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 d84e35679e6..4f4eb4d7a2a 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