aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-12-01 16:46:25 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-12-01 16:46:25 +0000
commite06c0febd9372024c10fd6fab64bb212e2975106 (patch)
tree68b4dba3e71746f5a25ddc90900e8d44323f79f8 /gcc/toplev.c
parent07c65e005e3c402d07297b9ce4df2e5ef5f433e2 (diff)
downloadgcc-e06c0febd9372024c10fd6fab64bb212e2975106.zip
gcc-e06c0febd9372024c10fd6fab64bb212e2975106.tar.gz
gcc-e06c0febd9372024c10fd6fab64bb212e2975106.tar.bz2
re PR middle-end/18667 (ice with --parm integer-share-limit=0)
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. From-SVN: r91567
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 e2efecd..edfc552 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