Don't allow latch with phi in try_transform_to_exit_first_loop_alt
authorTom de Vries <tom@codesourcery.com>
Mon, 11 Jan 2016 09:38:28 +0000 (09:38 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 11 Jan 2016 09:38:28 +0000 (09:38 +0000)
commitd95167eef4d15a5099874990fcca5e5a19fb8b38
treeb22a7438f476e5f3f48613ffa0779ecb9f46444b
parent4f6403a8ce2648cb785789f444b5bbaccd415976
Don't allow latch with phi in try_transform_to_exit_first_loop_alt

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

PR tree-optimization/69109
* tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
latch with phi.

* gcc.dg/autopar/pr69109-2.c: New test.
* gcc.dg/autopar/pr69109.c: New test.

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