https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65337
--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Dec 20 05:50:29 2015 New Revision: 231856 URL: https://gcc.gnu.org/viewcvs?rev=231856&root=gcc&view=rev Log: PR middle-end/65337 * tree-ssa-dce.c (bb_postorder): New static var. (forward_edge_to_pdom): Remove. (remove_dead_stmt): Instead of redirecting edges only keep an edge on a path to nearest live BB. (eliminate_unnecessary_stmts): Free bb_postorder. * cfganal.c (dfs_find_deadend): Add START_POINTES. * cfganal.h (inverted_post_order_compute): Update prototype. Modified: trunk/gcc/ChangeLog trunk/gcc/cfganal.c trunk/gcc/cfganal.h trunk/gcc/tree-ssa-dce.c