]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Limit range of modref-max-depth
authorJan Hubicka <hubicka@ucw.cz>
Sun, 7 Nov 2021 21:58:19 +0000 (22:58 +0100)
committerJan Hubicka <hubicka@ucw.cz>
Sun, 7 Nov 2021 22:00:54 +0000 (23:00 +0100)
gcc/ChangeLog:

PR ipa/103055
* params.opt (modref-max-depth): Add range.
(modref-max-adjustments): Fix range.

gcc/params.opt

index 6096854aa786eb6784f8c68b029ac4c59dc60356..4b409d55a2d6aa160f196c918223eb533988814a 100644 (file)
@@ -1036,7 +1036,7 @@ Common Joined UInteger Var(param_modref_max_tests) Init(64) Param Optimization
 Maximum number of tests performed by modref query.
 
 -param=modref-max-depth=
-Common Joined UInteger Var(param_modref_max_depth) Init(256) Param Optimization
+Common Joined UInteger Var(param_modref_max_depth) Init(256) IntegerRange(1, 65536) Param Optimization
 Maximum depth of DFS walk used by modref escape analysis.
 
 -param=modref-max-escape-points=
@@ -1044,7 +1044,7 @@ Common Joined UInteger Var(param_modref_max_escape_points) Init(256) Param Optim
 Maximum number of escape points tracked by modref per SSA-name.
 
 -param=modref-max-adjustments=
-Common Joined UInteger Var(param_modref_max_adjustments) Init(8) IntegerRange (0, 254) Param Optimization
+Common Joined UInteger Var(param_modref_max_adjustments) Init(8) IntegerRange(0, 254) Param Optimization
 Maximum number of times a given range is adjusted during the dataflow.
 
 -param=tm-max-aggregate-size=