From: Richard Biener Date: Fri, 19 Aug 2016 07:43:11 +0000 (+0000) Subject: re PR tree-optimization/77290 (test case gcc.dg/tree-ssa/pr71347.c fails starting... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ca60517a094c72cff636aac20e34b1b2c2b7f9b;p=gcc.git 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 --- 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))