More than 3 params consumes too much memory while bootstrapping gcc
with graphite enabled.
BOOT_CFLAGS="-g -O2 -fgraphite-identity -floop-block -floop-interchange
-floop-strip-mine"
---
gcc/params.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/params.def b/gcc/params.def
index 0ca3451..1f6e40e 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -850,7 +850,7 @@ DEFPARAM (PARAM_LOOP_UNROLL_JAM_DEPTH,
DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS,
"graphite-max-nb-scop-params",
"maximum number of parameters in a SCoP",
- 10, 0, 0)
+ 3, 0, 0)
/* Maximal number of basic blocks in the functions analyzed by Graphite. */
--
2.1.0.243.g30d45f7