[Bug tree-optimization/81578] [8 Regression] ICE in omp_reduction_init_op

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 28 07:12:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81578

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jul 28 07:11:51 2017
New Revision: 250651

URL: https://gcc.gnu.org/viewcvs?rev=250651&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr81578.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-parloops.c


More information about the Gcc-bugs mailing list