https://gcc.gnu.org/g:c9fb483dbc880d0b109d73f80dffb5433eed179d
commit r16-5279-gc9fb483dbc880d0b109d73f80dffb5433eed179d Author: Filip Kastl <[email protected]> Date: Fri Nov 14 11:31:37 2025 +0100 Remove --param=switch-lower-slow-alg-max-cases I removed the only use of this param in r16-348-gc14560907a9586. Remove the param. gcc/ChangeLog: * doc/invoke.texi: Remove mention of switch-lower-slow-alg-max-cases. * params.opt: Remove switch-lower-slow-alg-max-cases. Signed-off-by: Filip Kastl <[email protected]> Diff: --- gcc/doc/invoke.texi | 3 --- gcc/params.opt | 4 ---- 2 files changed, 7 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 27a9e2e5e93a..df4331fbad07 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -17295,9 +17295,6 @@ Switch initialization conversion refuses to create arrays that are bigger than @option{switch-conversion-max-branch-ratio} times the number of branches in the switch. -@item switch-lower-slow-alg-max-cases -Maximum number of cases for slow switch lowering algorithms to be used. - @item max-partial-antic-length Maximum length of the partial antic set computed during the tree partial redundancy elimination optimization (@option{-ftree-pre}) when diff --git a/gcc/params.opt b/gcc/params.opt index f8884e976e7f..7c226355c086 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -1095,10 +1095,6 @@ Maximum number of instruction distance that a small store forwarded to a larger Common Joined UInteger Var(param_switch_conversion_branch_ratio) Init(8) IntegerRange(1, 65536) Param Optimization The maximum ratio between array size and switch branches for a switch conversion to take place. --param=switch-lower-slow-alg-max-cases= -Common Joined UInteger Var(param_switch_lower_slow_alg_max_cases) Init(1000) IntegerRange(1, 1000000000) Param Optimization -Maximum number of cases for slow switch lowering algorithms to be used. - -param=modref-max-bases= Common Joined UInteger Var(param_modref_max_bases) Init(32) Param Optimization Maximum number of bases stored in each modref tree.
