From: Richard Biener Date: Thu, 21 Dec 2017 04:41:27 +0000 (+0000) Subject: tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Call update_stmt_if_modified. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75b7462e1ac607a9107ef8a158dafdef0728f01d;p=gcc.git tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Call update_stmt_if_modified. * tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Call update_stmt_if_modified. From-SVN: r255910 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d32b8bc59..aa7d1c364f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-12-20 Richard Biener + + * tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Call + update_stmt_if_modified. + 2017-12-20 Wilco Dijkstra PR tree-optimization/83491 diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 663d07b6fe9..c8adf8bfe13 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -2012,6 +2012,7 @@ dom_opt_dom_walker::optimize_stmt (basic_block bb, gimple_stmt_iterator si) undefined behavior that get diagnosed if they're left in the IL because we've attached range information to new SSA_NAMES. */ + update_stmt_if_modified (stmt); edge taken_edge = NULL; evrp_range_analyzer.vrp_visit_cond_stmt (as_a (stmt), &taken_edge);