------- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-20 12:30 ------- Subject: Bug 42717
Author: rguenth Date: Wed Jan 20 12:30:15 2010 New Revision: 156076 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156076 Log: 2010-01-20 Richard Guenther <rguent...@suse.de> PR tree-optimization/42717 * tree-ssa-dce.c (get_live_post_dom): Remove. (forward_edge_to_pdom): Take an arbitrary edge to copy degenerate PHI args from. (remove_dead_stmt): Use the first post-dominator even if it does not contain live statements as redirection destination. * gcc.c-torture/compile/pr42717.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr42717.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-dce.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42717