diff mbox series

Fix PR83439

Message ID alpine.LSU.2.20.1712152042120.12252@zhemvz.fhfr.qr
State New
Headers show
Series Fix PR83439 | expand

Commit Message

Richard Biener Dec. 15, 2017, 7:43 p.m. UTC
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.
diff mbox series

Patch

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;
 		}
 	    }
 	}