From 9ca60517a094c72cff636aac20e34b1b2c2b7f9b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 19 Aug 2016 07:43:11 +0000 Subject: [PATCH] re PR tree-optimization/77290 (test case gcc.dg/tree-ssa/pr71347.c fails starting with r239565) 2016-08-19 Richard Biener 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 | 6 ++++++ gcc/tree-ssa-pre.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ec1ae4ecb9..c8e8f6544e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-08-19 Richard Biener + + 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 * match.pd (x | 0 -> x): Add. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index b1e869b8a4c..fdb1c2c3965 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -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)) -- 2.30.2