summaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-11 18:22:46 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-11 18:22:46 +0000
commit9159979b4644af28303f47166397aa5d3802b115 (patch)
tree36d9539f4aea987e424c87b9c099ac485cbe15f3 /gcc/params.h
parent9ff0b0fdc7e12b3beab1ab7cf9bfa3d2f05dc0c1 (diff)
downloadgcc-9159979b4644af28303f47166397aa5d3802b115.tar.gz
* Makefile.in (gcse.o): Depend on params.h.
* gcse.c: Include params.h. (gcse_main): Don't do GCSE if doing so will take inordinate amounts of memory. * params.def (PARAM_MAX_GCSE_MEMORY): New parameter. * params.h (MAX_GCSE_MEMORY): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/params.h b/gcc/params.h
index d5336f2c70d..d97e7bbc396 100644
--- a/gcc/params.h
+++ b/gcc/params.h
@@ -88,5 +88,7 @@ typedef enum compiler_param
PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH)
#define MAX_DELAY_SLOT_LIVE_SEARCH \
PARAM_VALUE (PARAM_MAX_DELAY_SLOT_LIVE_SEARCH)
+#define MAX_GCSE_MEMORY \
+ ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY))
#endif /* PARAMS_H */