https://gcc.gnu.org/g:1a93153dacd49d69c88907be28996724f09e46b3
commit r16-7044-g1a93153dacd49d69c88907be28996724f09e46b3 Author: Filip Kastl <[email protected]> Date: Mon Jan 26 15:32:19 2026 +0100 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 <[email protected]> Diff: --- gcc/doc/invoke.texi | 3 +++ gcc/params.opt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 746568394f99..87c0470c3dbc 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 c35216f03698..921d143f517f 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
