summaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authorDaniel Berlin <dan@cgsoftware.com>2001-06-27 14:35:24 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2001-06-27 14:35:24 +0000
commit740f35a0a1971dc4a0a5ffaaf62ec5859201abef (patch)
tree8329179d402ec461cb13c031de9de5b3785aae47 /gcc/params.h
parente63fc7bde1349427deceaf5fd2d9530ae73095a4 (diff)
downloadgcc-740f35a0a1971dc4a0a5ffaaf62ec5859201abef.tar.gz
invoke.texi: Add description of max-gcse-passes param.
2001-06-26 Daniel Berlin <dan@cgsoftware.com> * doc/invoke.texi: Add description of max-gcse-passes param. * gcse.c (gcse_main): Use MAX_GCSE_PASSES instead of MAX_PASSES. (MAX_PASSES): Remove now unneeded macro. * params.h (MAX_GCSE_PASSES): New macro, to get parameter value of max-gcse-passes param. * params.def (PARAM_MAX_GCSE_PASSES): New parameter, controlling maximum number of GCSE passes to run. Defaults to 1 (which is what MAX_PASSES in gcse.c used to be). From-SVN: r43610
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/params.h b/gcc/params.h
index 7f0bacd4346..2b29094a6f2 100644
--- a/gcc/params.h
+++ b/gcc/params.h
@@ -92,5 +92,6 @@ typedef enum compiler_param
PARAM_VALUE (PARAM_MAX_DELAY_SLOT_LIVE_SEARCH)
#define MAX_GCSE_MEMORY \
((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY))
-
+#define MAX_GCSE_PASSES \
+ PARAM_VALUE (PARAM_MAX_GCSE_PASSES)
#endif /* ! GCC_PARAMS_H */