* params.c (set_param_value): Remove use of INVALID_PARAM_VAL.
* params.h (INVALID_PARAM_VAL): Don't define.
===================================================================
@@ -58,9 +58,6 @@ set_param_value (const char *name, int v
{
size_t i;
- /* Make sure nobody tries to set a parameter to an invalid value. */
- gcc_assert (value != INVALID_PARAM_VAL);
-
/* Scan the parameter table to find a matching entry. */
for (i = 0; i < num_compiler_params; ++i)
if (strcmp (compiler_params[i].option, name) == 0)
===================================================================
@@ -33,10 +33,6 @@ along with GCC; see the file COPYING3.
#ifndef GCC_PARAMS_H
#define GCC_PARAMS_H
-/* No parameter shall have this value. */
-
-#define INVALID_PARAM_VAL (-1)
-
/* The information associated with each parameter. */
typedef struct param_info