From: Filip Kastl Date: Mon, 26 Jan 2026 14:32:19 +0000 (+0100) Subject: doc: Document --param auto-profile-reorder-only X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a93153dacd49d69c88907be28996724f09e46b3;p=thirdparty%2Fgcc.git doc: Document --param auto-profile-reorder-only This patch adds --param auto-profile-reorder-only into invoke.texi and fixes spelling in its description. gcc/ChangeLog: * doc/invoke.texi: Document --param auto-profile-reorder-only. * params.opt: Fix spelling. Signed-off-by: Filip Kastl --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 746568394f9..87c0470c3db 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16826,6 +16826,9 @@ If non-zero and used together with @option{-fauto-profile}, the auto-profile will be used to determine basic block profile. If zero, then only function level profile will be read. +@item auto-profile-reorder-only +Enable only function reordering with auto-profile. + @item phiopt-factor-max-stmts-live When factoring statements out of if/then/else, this is the max # of statements after the defining statement to be allow to extend the lifetime of a name diff --git a/gcc/params.opt b/gcc/params.opt index c35216f0369..921d143f517 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -72,7 +72,7 @@ Build basic block profile using auto profile. -param=auto-profile-reorder-only= Common Joined UInteger Var(param_auto_profile_reorder_only) Init(0) IntegerRange(0, 1) Param Optimization -Eanble only function reordering with auto-profile. +Enable only function reordering with auto-profile. -param=cycle-accurate-model= Common Joined UInteger Var(param_cycle_accurate_model) Init(1) IntegerRange(0, 1) Param Optimization