summaryrefslogtreecommitdiff
path: root/gcc/params.def
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.def
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.def')
-rw-r--r--gcc/params.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 24b3aa26bb1..eff8a231e83 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -74,7 +74,11 @@ DEFPARAM(PARAM_MAX_GCSE_MEMORY,
"max-gcse-memory",
"The maximum amount of memory to be allocated by GCSE",
50 * 1024 * 1024)
-
+/* The number of repetitions of copy/const prop and PRE to run. */
+DEFPARAM(PARAM_MAX_GCSE_PASSES,
+ "max-gcse-passes",
+ "The maximum number of passes to make when doing GCSE",
+ 1)
/*
Local variables:
mode:c