Commit 75b7462e by Richard Biener Committed by Jeff Law

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
parent 8ba8e7af
2017-12-20 Richard Biener <rguenther@suse.de>
* tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Call
update_stmt_if_modified.
2017-12-20 Wilco Dijkstra <wdijkstr@arm.com> 2017-12-20 Wilco Dijkstra <wdijkstr@arm.com>
PR tree-optimization/83491 PR tree-optimization/83491
...@@ -2012,6 +2012,7 @@ dom_opt_dom_walker::optimize_stmt (basic_block bb, gimple_stmt_iterator si) ...@@ -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 undefined behavior that get diagnosed if they're left in the
IL because we've attached range information to new IL because we've attached range information to new
SSA_NAMES. */ SSA_NAMES. */
update_stmt_if_modified (stmt);
edge taken_edge = NULL; edge taken_edge = NULL;
evrp_range_analyzer.vrp_visit_cond_stmt (as_a <gcond *> (stmt), evrp_range_analyzer.vrp_visit_cond_stmt (as_a <gcond *> (stmt),
&taken_edge); &taken_edge);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment