re PR tree-optimization/77290 (test case gcc.dg/tree-ssa/pr71347.c fails starting with r239565)

2016-08-19  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/77290
	* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
	Fix flag_tree_parallelize_loops check.

From-SVN: r239607
This commit is contained in:
Richard Biener 2016-08-19 07:43:11 +00:00 committed by Richard Biener
parent ca0b7ecec7
commit 9ca60517a0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-08-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/77290
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
Fix flag_tree_parallelize_loops check.
2016-08-19 Richard Biener <rguenther@suse.de>
* match.pd (x | 0 -> x): Add.

View File

@ -4270,7 +4270,7 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (sprime
&& TREE_CODE (sprime) == SSA_NAME
&& do_pre
&& (flag_tree_loop_vectorize || flag_tree_parallelize_loops)
&& (flag_tree_loop_vectorize || flag_tree_parallelize_loops > 1)
&& loop_outer (b->loop_father)
&& has_zero_uses (sprime)
&& bitmap_bit_p (inserted_exprs, SSA_NAME_VERSION (sprime))