re PR tree-optimization/40321 (internal compiler error: in compute_antic, at tree-ssa-pre.c:2501)
2009-07-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/40321 * tree-ssa-pre.c (add_to_exp_gen): Also add names defined by PHI nodes to the maximal set. (make_values_for_phi): Add PHI arguments to the maximal set. (execute_pre): Dump PHI_GEN and the maximal set. * gcc.c-torture/compile/pr40321.c: New testcase. * g++.dg/torture/pr40321.C: Likewise. From-SVN: r149744
Showing
- gcc/ChangeLog 8 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/torture/pr40321.C 25 additions, 0 deletionsgcc/testsuite/g++.dg/torture/pr40321.C
- gcc/testsuite/gcc.c-torture/compile/pr40321.c 12 additions, 0 deletionsgcc/testsuite/gcc.c-torture/compile/pr40321.c
- gcc/tree-ssa-pre.c 22 additions, 14 deletionsgcc/tree-ssa-pre.c
Loading
Please register or sign in to comment