]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Document --param auto-profile-reorder-only
authorFilip Kastl <fkastl@suse.cz>
Mon, 26 Jan 2026 14:32:19 +0000 (15:32 +0100)
committerFilip Kastl <fkastl@suse.cz>
Mon, 26 Jan 2026 14:32:19 +0000 (15:32 +0100)
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 <fkastl@suse.cz>
gcc/doc/invoke.texi
gcc/params.opt

index 746568394f998c5c202959973376caff594c9fdb..87c0470c3dbcb760b2a4e0294337fc2fd1dea4b1 100644 (file)
@@ -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
index c35216f03698f27359002273a486562716e66069..921d143f517fa5da2168bb109223da68640118f4 100644 (file)
@@ -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