{
/* The name used with the `--param <name>=<value>' switch to set this
value. */
- const char *option;
+ const char *const option;
/* The associated value. */
int value;
/* A short description of the option. */
- const char *help;
+ const char *const help;
} param_info;
/* An array containing the compiler parameters and their current
typedef enum compiler_param
{
-#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT) \
- ENUM,
+#define DEFPARAM(enumerator, option, msgid, default) \
+ enumerator,
#include "params.def"
#undef DEFPARAM
LAST_PARAM
(compiler_params[(int) ENUM].value)
/* Macros for the various parameters. */
+#define MAX_INLINE_INSNS_SINGLE \
+ PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE)
#define MAX_INLINE_INSNS \
PARAM_VALUE (PARAM_MAX_INLINE_INSNS)
+#define MAX_INLINE_SLOPE \
+ PARAM_VALUE (PARAM_MAX_INLINE_SLOPE)
+#define MIN_INLINE_INSNS \
+ PARAM_VALUE (PARAM_MIN_INLINE_INSNS)
#define MAX_DELAY_SLOT_INSN_SEARCH \
PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH)
#define MAX_DELAY_SLOT_LIVE_SEARCH \
((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY))
#define MAX_GCSE_PASSES \
PARAM_VALUE (PARAM_MAX_GCSE_PASSES)
+#define MAX_UNROLLED_INSNS \
+ PARAM_VALUE (PARAM_MAX_UNROLLED_INSNS)
#endif /* ! GCC_PARAMS_H */