re PR tree-optimization/32540 (Exponential time behavior in PRE)
authorNick Clifton <nickc@redhat.com>
Mon, 5 Nov 2007 15:42:30 +0000 (15:42 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 5 Nov 2007 15:42:30 +0000 (15:42 +0000)
commitf0ed4cfb9d55717e36c3c056f612e7323facc7ff
tree532a1d6bef5e5f6807eb8923edc27006c580c3c2
parent2afad0f6bbf0a98ac7189ca9dbcaef13594e674e
re PR tree-optimization/32540 (Exponential time behavior in PRE)

2007-11-05  Nick Clifton  <nickc@redhat.com>
    Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/32540
PR tree-optimization/33922
* doc/invoke.texi: Document PARAM_MAX_PARTIAL_ANTIC_LENGTH.
* tree-ssa-pre.c: Include params.h.
(compute_partial_antic_aux): Use PARAM_MAX_PARTIAL_ANTIC_LENGTH
to limit the maximum length of the PA set for a given block.
* Makefile.in: Add a dependency upon params.h for tree-ssa-pre.c
* params.def (PARAM_MAX_PARTIAL_ANTIC_LENGTH): New parameter.

* gcc.dg/tree-ssa/pr32540-1.c: New.
* gcc.dg/tree-ssa/pr32540-2.c: New.
* gcc.dg/tree-ssa/pr33922.c: New.

Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
From-SVN: r129901
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/invoke.texi
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr32540-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr32540-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr33922.c [new file with mode: 0644]
gcc/tree-ssa-pre.c