[parloops] Handle canonicalize_loop_ivs failure

Programming / Compilers / GCC - vries [138bc75d-0d04-0410-961f-82ee72b054a4] - 21 March 2018 12:25 EDT

2018-03-21 Tom de Vries

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.

bfb6326810d [parloops] Handle canonicalize_loop_ivs failure
gcc/ChangeLog | 6 +++++
gcc/testsuite/ChangeLog | 5 +++++
gcc/testsuite/gcc.dg/graphite/pr83126.c | 19 ++++++++++++++++
gcc/tree-parloops.c | 39 +++++++++++++++++++++++++++++++++
4 files changed, 69 insertions(+)

Upstream: gcc.gnu.org


  • Share