Handle 2 preds for fin_bb in expand_omp_for_static_chunk
authorTom de Vries <tom@codesourcery.com>
Thu, 3 Sep 2015 11:01:22 +0000 (11:01 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 3 Sep 2015 11:01:22 +0000 (11:01 +0000)
commit17720e84bfd8df2224886b087cccf236e237d5bc
treecaa3b85f9bc3928fa8a2083d0af0e75b2e196e44
parent1b96e9a4bfb7d1ed3e4795288b69e0ba8b08f330
Handle 2 preds for fin_bb in expand_omp_for_static_chunk

2015-09-03  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/65637
* omp-low.c (expand_omp_for_static_chunk): Handle case that fin_bb has 2
predecessors.

* gcc.dg/autopar/reduc-4.c: New test.

From-SVN: r227438
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/reduc-4.c [new file with mode: 0644]