Goofed up a backport to the GCC 7 branch. Bootstrap & regtest in progress.
Richard. 2017-12-15 Richard Biener <rguent...@suse.de> PR bootstrap/83439 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Adjust remaining gimple_set_modified to use the modified variable instead. Index: gcc/tree-ssa-pre.c =================================================================== --- gcc/tree-ssa-pre.c (revision 255701) +++ gcc/tree-ssa-pre.c (working copy) @@ -4673,7 +4673,7 @@ eliminate_dom_walker::before_dom_childre == void_type_node)) gimple_call_set_fntype (call_stmt, TREE_TYPE (fn)); maybe_remove_unused_call_args (cfun, call_stmt); - gimple_set_modified (stmt, true); + modified = true; } } }