summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-12 09:44:16 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-12 09:44:16 +0000
commitf391504caa41e1dba013c6fc2f6b73d3d91d424b (patch)
treed1744bed287bf158f3ba33cbaf31e8ac5720aefb /gcc/params.def
parent115addd6f75b9a540c34a162f151b190e8dd7165 (diff)
downloadgcc-f391504caa41e1dba013c6fc2f6b73d3d91d424b.tar.gz
Partial fox for PR opt/10776 II
* cselib.c: Include params.h (cselib_invalidate_mem): Limit amount of nonconflicting memory locations. * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. * Makefile.in (cselib.o): Depend on params.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75710 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index a5b3099ca0e..3f0d15b1854 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -238,6 +238,11 @@ DEFPARAM(PARAM_MAX_CSE_PATH_LENGTH,
"The maximum length of path considered in cse",
10)
+DEFPARAM(PARAM_MAX_CSELIB_MEMORY_LOCATIONS,
+ "max-cselib-memory-locations",
+ "The maximum memory locations recorded by cselib",
+ 500)
+
#ifdef ENABLE_GC_ALWAYS_COLLECT
# define GGC_MIN_EXPAND_DEFAULT 0
# define GGC_MIN_HEAPSIZE_DEFAULT 0