Remove last leftover usage of params* files.
authorMartin Liska <mliska@suse.cz>
Tue, 12 Nov 2019 10:09:57 +0000 (11:09 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 12 Nov 2019 10:09:57 +0000 (10:09 +0000)
commit8cc5fcaf1f04f8c7323181a53f05b34ed28a0f1a
tree87cfecfb1f2f7d58eb7d6ac38bb7c188f9feb367
parent0c29cac4a8cc840a0a597313147a7e0df0064c54
Remove last leftover usage of params* files.

2019-11-12  Martin Liska  <mliska@suse.cz>

* common.opt: Remove param_values.
* config/i386/i386-options.c (ix86_valid_target_attribute_p):
Remove finalize_options_struct.
* gcc.c (driver::decode_argv): Do not call global_init_params
and finish_params.
(driver::finalize): Do not call params_c_finalize
and finalize_options_struct.
* opt-suggestions.c (option_proposer::get_completions): Remove
special casing of params.
(option_proposer::find_param_completions): Remove.
(test_completion_partial_match): Update expected output.
* opt-suggestions.h: Remove find_param_completions.
* opts-common.c (add_misspelling_candidates): Add
--param with a space.
* opts.c (handle_param): Remove.
(init_options_struct):. Remove init_options_struct and
similar calls.
(finalize_options_struct): Remove.
(common_handle_option): Use SET_OPTION_IF_UNSET.
* opts.h (finalize_options_struct): Remove.
* toplev.c (general_init): Do not call global_init_params.
(toplev::finalize): Do not call params_c_finalize and
finalize_options_struct.

From-SVN: r278087
gcc/ChangeLog
gcc/common.opt
gcc/config/i386/i386-options.c
gcc/gcc.c
gcc/opt-suggestions.c
gcc/opt-suggestions.h
gcc/opts-common.c
gcc/opts.c
gcc/opts.h
gcc/toplev.c