------- Comment #29 from rguenth at gcc dot gnu dot org 2009-07-22 14:45 ------- Subject: Bug 40321
Author: rguenth Date: Wed Jul 22 14:45:21 2009 New Revision: 149935 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149935 Log: 2009-07-22 Richard Guenther <rguent...@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. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr40321.C branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40321.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/tree-ssa-pre.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40321