re PR tree-optimization/77290 (test case gcc.dg/tree-ssa/pr71347.c fails starting...
authorRichard Biener <rguenther@suse.de>
Fri, 19 Aug 2016 07:43:11 +0000 (07:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 19 Aug 2016 07:43:11 +0000 (07:43 +0000)
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

gcc/ChangeLog
gcc/tree-ssa-pre.c

index 0ec1ae4ecb913b912db911246739b10da81a6150..c8e8f6544e30ee1077d08f1566c7f5c29ffc7608 100644 (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.
index b1e869b8a4c39aee8a89819d4b38ac61e90abcd8..fdb1c2c3965c572a139efcae926b6fa96ebfa918 100644 (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))