aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-scalar-evolution.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2011-02-02 15:52:08 +0000
committerSebastian Pop <spop@gcc.gnu.org>2011-02-02 15:52:08 +0000
commit14dd9aabd6cdb21bd3c482452239f06230be84c3 (patch)
tree6ae2edc779700679f7e82d5fa0869260ee9418e2 /gcc/tree-scalar-evolution.c
parentd46efcfe977c4ccde0f70bf9bce3500ac740745b (diff)
downloadgcc-14dd9aabd6cdb21bd3c482452239f06230be84c3.zip
gcc-14dd9aabd6cdb21bd3c482452239f06230be84c3.tar.gz
gcc-14dd9aabd6cdb21bd3c482452239f06230be84c3.tar.bz2
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. From-SVN: r169530
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
-rw-r--r--gcc/tree-scalar-evolution.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c
index d60e569..1b68b36 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);