[parloops] Handle canonicalize_loop_ivs failure
authorTom de Vries <tom@codesourcery.com>
Wed, 21 Mar 2018 12:25:03 +0000 (12:25 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 21 Mar 2018 12:25:03 +0000 (12:25 +0000)
commitc75c35e0f52a4f4feca1058a67bb78c660605e24
tree89fc88f54ef5d689e690b8555d9dd7a0c188dc40
parentf82ece6b59622033b3dabf124d999d6f2fb1b6d7
[parloops] Handle canonicalize_loop_ivs failure

2018-03-21  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/83126
* tree-parloops.c (num_phis): New function.
(gen_parallel_loop): Detect and handle canonicalize_loop_ivs failure.

* gcc.dg/graphite/pr83126.c: New test.

From-SVN: r258713
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr83126.c [new file with mode: 0644]
gcc/tree-parloops.c