re PR tree-optimization/81578 (ICE in omp_reduction_init_op)
authorJakub Jelinek <jakub@redhat.com>
Fri, 28 Jul 2017 07:11:51 +0000 (09:11 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 28 Jul 2017 07:11:51 +0000 (09:11 +0200)
commitd0ee55a1f7ce56b20e9d52904da026a316241930
tree77c6765ddf61786720242bb3a9d02a72472e690f
parent1ce75e415688d0f0bec52cdd8d0fcdaccb5efac5
re PR tree-optimization/81578 (ICE in omp_reduction_init_op)

PR tree-optimization/81578
* tree-parloops.c (build_new_reduction): Bail out if
reduction_code isn't one of the standard OpenMP reductions.
Move the details printing after that decision.

* gcc.dg/pr81578.c: New test.

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