This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR83439
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Dec 2017 20:43:02 +0100 (CET)
- Subject: [PATCH] Fix PR83439
- Authentication-results: sourceware.org; auth=none
Goofed up a backport to the GCC 7 branch.
Bootstrap & regtest in progress.
Richard.
2017-12-15 Richard Biener <rguenther@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;
}
}
}