Remove option_default_params and option_validate_param hooks.
authorMartin Liska <mliska@suse.cz>
Tue, 12 Nov 2019 10:10:44 +0000 (11:10 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 12 Nov 2019 10:10:44 +0000 (10:10 +0000)
commit8100e93b72dfe82c5f084a3d9351b8ad2ef6ab39
treebc959de4a1ee60b1c2eca1cfdb4b32aa739b7cec
parent75d6623156d3e69aa1ecc1d91c6a2c6879a97e74
Remove option_default_params and option_validate_param hooks.

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

* common/common-target.def: Remove option_validate_param and
option_default_params.
* common/common-targhooks.c (default_option_validate_param):
Remove.
* common/common-targhooks.h (default_option_validate_param):
Remove.
* common/config/aarch64/aarch64-common.c (TARGET_OPTION_DEFAULT_PARAMS):
Remove usage of this.
(TARGET_OPTION_VALIDATE_PARAM): Likewise.
(aarch64_option_validate_param): Likewise.
(aarch64_option_default_params): Likewise
* common/config/bpf/bpf-common.c (bpf_option_default_params): Likewise.
(TARGET_OPTION_DEFAULT_PARAMS): Likewise.
* common/config/ia64/ia64-common.c (ia64_option_default_params): Likewise.
(TARGET_OPTION_DEFAULT_PARAMS): Likewise.
* common/config/powerpcspe/powerpcspe-common.c (rs6000_option_default_params): Likewise.
(TARGET_OPTION_DEFAULT_PARAMS): Likewise.
* common/config/rs6000/rs6000-common.c (rs6000_option_default_params): Likewise.
(TARGET_OPTION_DEFAULT_PARAMS): Likewise.
* common/config/sh/sh-common.c (sh_option_default_params): Likewise.
(TARGET_OPTION_DEFAULT_PARAMS): Likewise.
* config/aarch64/aarch64.c (aarch64_override_options_internal): Validate
guard_size here.
* doc/tm.texi: Remove option_default_params and option_validate_param.
* doc/tm.texi.in: Likewise.

From-SVN: r278090
13 files changed:
gcc/ChangeLog
gcc/common/common-target.def
gcc/common/common-targhooks.c
gcc/common/common-targhooks.h
gcc/common/config/aarch64/aarch64-common.c
gcc/common/config/bpf/bpf-common.c
gcc/common/config/ia64/ia64-common.c
gcc/common/config/powerpcspe/powerpcspe-common.c
gcc/common/config/rs6000/rs6000-common.c
gcc/common/config/sh/sh-common.c
gcc/config/aarch64/aarch64.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in