opts: Sanity check for param names.
gcc/ChangeLog: * optc-gen.awk: Check that params start with -param=. * params.opt: Fix ipa-jump-function-lookups.
This commit is contained in:
parent
53dede0f04
commit
bafcf452c7
|
@ -104,6 +104,9 @@ for (i = 0; i < n_opts; i++) {
|
|||
enabledby_negarg = nth_arg(3, enabledby_arg);
|
||||
lang_enabled_by(enabledby_langs, enabledby_name, enabledby_posarg, enabledby_negarg);
|
||||
}
|
||||
|
||||
if (flag_set_p("Param", flags[i]) && !(opts[i] ~ "^-param="))
|
||||
print "#error Parameter option name '" opts[i] "' must start with '-param='"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@ The size of translation unit that IPA-CP pass considers large.
|
|||
Common Joined UInteger Var(param_ipa_cp_value_list_size) Init(8) Param Optimization
|
||||
Maximum size of a list of values associated with each parameter for interprocedural constant propagation.
|
||||
|
||||
-param-ipa-jump-function-lookups=
|
||||
-param=ipa-jump-function-lookups=
|
||||
Common Joined UInteger Var(param_ipa_jump_function_lookups) Init(8) Param Optimization
|
||||
Maximum number of statements visited during jump function offset discovery.
|
||||
|
||||
|
|
Loading…
Reference in New Issue