summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-01 16:46:25 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-01 16:46:25 +0000
commit1d8a53f4d7d045d285e9ef482f6b18caea9005f4 (patch)
tree68b4dba3e71746f5a25ddc90900e8d44323f79f8 /gcc/toplev.c
parentdd1d31096c2b5057c5736cbbf6ce85ff26f69098 (diff)
downloadgcc-1d8a53f4d7d045d285e9ef482f6b18caea9005f4.tar.gz
PR middle-end/18667
* params.c (set_param_value): Add range check. * params.def: Add min and max values. Reformat long strings. * params.h (struct param_info): Add min and max fields. (enum compiler_param): Adjust DEFPARAM. * toplev.c (lang_independent_params): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91567 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index e2efecd563c..edfc55219b1 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -367,11 +367,11 @@ int flag_evaluation_order = 0;
const char *user_label_prefix;
static const param_info lang_independent_params[] = {
-#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT) \
- { OPTION, DEFAULT, HELP },
+#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT, MIN, MAX) \
+ { OPTION, DEFAULT, MIN, MAX, HELP },
#include "params.def"
#undef DEFPARAM
- { NULL, 0, NULL }
+ { NULL, 0, 0, 0, NULL }
};
/* Here is a table, controlled by the tm.h file, listing each -m switch