summaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-27 14:35:24 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-27 14:35:24 +0000
commitd023fd14309aa8eac16275bd4ad58121ff9f5041 (patch)
tree8329179d402ec461cb13c031de9de5b3785aae47 /gcc/params.h
parent9709e28099f2982abff7c542c628295d5292dfa6 (diff)
downloadgcc-d023fd14309aa8eac16275bd4ad58121ff9f5041.tar.gz
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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43610 138bc75d-0d04-0410-961f-82ee72b054a4
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 */