re PR tree-optimization/41101 (ICE in compute_antic, at tree-ssa-pre.c:2419)
authorRichard Guenther <rguenther@suse.de>
Wed, 9 Sep 2009 15:04:27 +0000 (15:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Sep 2009 15:04:27 +0000 (15:04 +0000)
commit70a6b17e846d543bfaf535b09dd63f36ac80d4bd
treed2c69da4c7c91e01f3cb69c83d462844bdd5fa86
parent7648edc4d3f8411a1e6dca4e62633db3337ae5f3
re PR tree-optimization/41101 (ICE in compute_antic, at tree-ssa-pre.c:2419)

2009-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41101
* tree-ssa-pre.c (maximal_set): Remove.
(compute_antic_aux): Treat the maximal set as implicitly all ones.
Defer all blocks we didn't visit at least one successor.
(add_to_exp_gen): Do not add to the maximal set.
(make_values_for_phi): Likewise.
(compute_avail): Likewise.
(init_pre): Do not allocate the maximal set.
(execute_pre): Do not dump it.

* gcc.c-torture/compile/pr41101.c: New testcase.

From-SVN: r151561
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr41101.c [new file with mode: 0644]
gcc/tree-ssa-pre.c