aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/params.c')
-rw-r--r--gcc/params.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/params.c b/gcc/params.c
index e1e6004..e109d3a 100644
--- a/gcc/params.c
+++ b/gcc/params.c
@@ -61,7 +61,8 @@ set_param_value (const char *name, int value)
size_t i;
/* Make sure nobody tries to set a parameter to an invalid value. */
- gcc_assert (value != INVALID_PARAM_VAL);
+ if (value == INVALID_PARAM_VAL)
+ abort ();
/* Scan the parameter table to find a matching entry. */
for (i = 0; i < num_compiler_params; ++i)