OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / params.h
index 3145518..c4474e4 100644 (file)
@@ -45,11 +45,11 @@ typedef struct param_info
 {
   /* 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
@@ -72,8 +72,8 @@ extern void set_param_value
 
 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
@@ -84,8 +84,14 @@ typedef enum compiler_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 \
@@ -96,4 +102,6 @@ typedef enum compiler_param
   ((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 */