Only allow single exit phi for reduction in try_create_reduction_list
authorTom de Vries <tom@codesourcery.com>
Sun, 10 Jan 2016 09:12:03 +0000 (09:12 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 10 Jan 2016 09:12:03 +0000 (09:12 +0000)
commit23fab8aee7a9d510c9f451d5f31ed0b9b7b30981
tree29b0150b3f71ebf26700dd5944e72b121d533cb0
parent34b85c643726db162b0abcf1b7403cd1a0c4553d
Only allow single exit phi for reduction in try_create_reduction_list

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

PR tree-optimization/69039
* tree-parloops.c (try_create_reduction_list): Only allow single exit
phi for reduction.

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

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