Mercurial > hg > CbC > CbC_gcc
diff gcc/common/common-targhooks.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/common/common-targhooks.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/common/common-targhooks.c Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ /* Default common target hook functions. - Copyright (C) 2003-2017 Free Software Foundation, Inc. + Copyright (C) 2003-2018 Free Software Foundation, Inc. This file is part of GCC. @@ -23,6 +23,7 @@ #include "tm.h" #include "common/common-target.h" #include "common/common-targhooks.h" +#include "opts.h" /* Determine the exception handling mechanism for the target. */ @@ -77,6 +78,23 @@ return true; } +/* Default version of TARGET_GET_VALID_OPTION_VALUES. */ + +vec<const char *> +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 }