diff options
author | Martin Liska <mliska@suse.cz> | 2019-11-12 11:10:44 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-11-12 10:10:44 +0000 |
commit | 8100e93b72dfe82c5f084a3d9351b8ad2ef6ab39 (patch) | |
tree | bc959de4a1ee60b1c2eca1cfdb4b32aa739b7cec /gcc/common/common-targhooks.c | |
parent | 75d6623156d3e69aa1ecc1d91c6a2c6879a97e74 (diff) | |
download | gcc-8100e93b72dfe82c5f084a3d9351b8ad2ef6ab39.zip gcc-8100e93b72dfe82c5f084a3d9351b8ad2ef6ab39.tar.gz gcc-8100e93b72dfe82c5f084a3d9351b8ad2ef6ab39.tar.bz2 |
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
Diffstat (limited to 'gcc/common/common-targhooks.c')
-rw-r--r-- | gcc/common/common-targhooks.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/common/common-targhooks.c b/gcc/common/common-targhooks.c index 9ed7822..41626ba 100644 --- a/gcc/common/common-targhooks.c +++ b/gcc/common/common-targhooks.c @@ -86,15 +86,6 @@ default_get_valid_option_values (int, const char *) return vec<const char *> (); } -/* Default version of TARGET_OPTION_VALIDATE_PARAM. */ - -bool -default_option_validate_param (const int value ATTRIBUTE_UNUSED, - const int param ATTRIBUTE_UNUSED) -{ - return true; -} - const struct default_options empty_optimization_table[] = { { OPT_LEVELS_NONE, 0, NULL, 0 } |