• rguenth's avatar
    2010-01-20 Richard Guenther <rguenther@suse.de> · 0672b268
    rguenth authored
    	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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156076 138bc75d-0d04-0410-961f-82ee72b054a4
    0672b268
ChangeLog 13.8 KB