re PR tree-optimization/65337 (LTO bootstrap failure with Ada enabled)
authorJan Hubicka <hubicka@ucw.cz>
Sun, 20 Dec 2015 05:50:29 +0000 (06:50 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 20 Dec 2015 05:50:29 +0000 (05:50 +0000)
commite4dbb0d449e778bc810d0d627a5aaefd0d7847b1
tree4c773d3276204110d797dfcd28b3e1f57d3fbbf6
parente07e03ddc14c0cb38b388812c9d5d07fd940a78f
re PR tree-optimization/65337 (LTO bootstrap failure with Ada enabled)

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.

From-SVN: r231856
gcc/ChangeLog
gcc/cfganal.c
gcc/cfganal.h
gcc/tree-ssa-dce.c