diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2011-02-02 15:52:08 +0000 |
---|---|---|
committer | Sebastian Pop <sebastian.pop@amd.com> | 2011-02-02 15:52:08 +0000 |
commit | a0a538161e3435fde3656ef84da0a269720f4ec1 (patch) | |
tree | 6ae2edc779700679f7e82d5fa0869260ee9418e2 /gcc/tree-scalar-evolution.c | |
parent | 52808dc95441837115051d5df933791ff4484ce5 (diff) |
Fix PR47576 and PR47555: add PARAM_SCEV_MAX_EXPR_COMPLEXITY.
2011-02-02 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/47576
PR tree-optimization/47555
* doc/invoke.texi (scev-max-expr-complexity): Documented.
* params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
(PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared.
* tree-scalar-evolution.c (follow_ssa_edge): Use
PARAM_SCEV_MAX_EXPR_COMPLEXITY.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@169530 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
-rw-r--r-- | gcc/tree-scalar-evolution.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c index d60e56915c3..1b68b36b30b 100644 --- a/gcc/tree-scalar-evolution.c +++ b/gcc/tree-scalar-evolution.c @@ -1399,7 +1399,7 @@ follow_ssa_edge (struct loop *loop, gimple def, gimple halting_phi, return t_false; /* Give up if the path is longer than the MAX that we allow. */ - if (limit > PARAM_VALUE (PARAM_SCEV_MAX_EXPR_SIZE)) + if (limit > PARAM_VALUE (PARAM_SCEV_MAX_EXPR_COMPLEXITY)) return t_dont_know; def_loop = loop_containing_stmt (def); |