tree-cfgcleanup.c (cleanup_control_expr_graph): Remove first_p paramter and handling.
authorRichard Biener <rguenther@suse.de>
Tue, 14 Nov 2017 14:43:43 +0000 (14:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Nov 2017 14:43:43 +0000 (14:43 +0000)
commit55518e0f5df1f1693e060ddd595a86ac816ec291
tree9665286ee867ccd24be4450c3ea90ef16eadae27
parent082fc7e884f79aa11e87295e8f98b55068574cdc
tree-cfgcleanup.c (cleanup_control_expr_graph): Remove first_p paramter and handling.

2017-11-14  Richard Biener  <rguenther@suse.de>

* tree-cfgcleanup.c (cleanup_control_expr_graph): Remove first_p
paramter and handling.
(cleanup_control_flow_bb): Likewise.
(cleanup_control_flow_pre): New helper performing a DFS walk
to call cleanup_control_flow_bb in PRE order.
(cleanup_tree_cfg_1): Do the first phase of cleanup_control_flow_bb
via cleanup_control_flow_pre.

From-SVN: r254730
gcc/ChangeLog
gcc/tree-cfgcleanup.c