https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81578
--- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Author: aldyh Date: Wed Sep 13 15:55:05 2017 New Revision: 252131 URL: https://gcc.gnu.org/viewcvs?rev=252131&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: branches/range-gen2/gcc/testsuite/gcc.dg/pr81578.c Modified: branches/range-gen2/gcc/ChangeLog branches/range-gen2/gcc/testsuite/ChangeLog branches/range-gen2/gcc/tree-parloops.c