Handle case that outer phi res is not used in a phi in gather_scalar_reductions
authorTom de Vries <tom@codesourcery.com>
Mon, 11 Jan 2016 09:19:33 +0000 (09:19 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 11 Jan 2016 09:19:33 +0000 (09:19 +0000)
commit4f6403a8ce2648cb785789f444b5bbaccd415976
treee7c44fcd28db1db33aadb1e8f45b1be58a95b673
parent4bfede854f6b742fa7472ec7f401681d4bce8a7f
Handle case that outer phi res is not used in a phi in gather_scalar_reductions

2016-01-11  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/69108
* tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
res is not used in a phi.

* gcc.dg/autopar/pr69108.c: New test.

From-SVN: r232211
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr69108.c [new file with mode: 0644]
gcc/tree-parloops.c