summaryrefslogtreecommitdiff
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, 1 insertions, 2 deletions
diff --git a/gcc/params.c b/gcc/params.c
index e109d3adb3f..e1e60049d18 100644
--- a/gcc/params.c
+++ b/gcc/params.c
@@ -61,8 +61,7 @@ set_param_value (const char *name, int value)
size_t i;
/* Make sure nobody tries to set a parameter to an invalid value. */
- if (value == INVALID_PARAM_VAL)
- abort ();
+ gcc_assert (value != INVALID_PARAM_VAL);
/* Scan the parameter table to find a matching entry. */
for (i = 0; i < num_compiler_params; ++i)