aboutsummaryrefslogtreecommitdiff
path: root/gcc/common/common-targhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/common/common-targhooks.c')
-rw-r--r--gcc/common/common-targhooks.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/common/common-targhooks.c b/gcc/common/common-targhooks.c
index 1b1a015..990c495 100644
--- a/gcc/common/common-targhooks.c
+++ b/gcc/common/common-targhooks.c
@@ -86,6 +86,15 @@ 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 }