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

--- Comment #8 from vries at gcc dot gnu.org ---
Author: vries
Date: Sat Aug 29 07:07:51 2015
New Revision: 227315

URL: https://gcc.gnu.org/viewcvs?rev=227315&root=gcc&view=rev
Log:
Handle mix/max pointer reductions in parloops

2015-08-29  Tom de Vries  <t...@codesourcery.com>

        PR tree-optimization/46193
        * omp-low.c (omp_reduction_init): Handle pointer type for min or max
        clause.

        * gcc.dg/autopar/pr46193.c: New test.

        * testsuite/libgomp.c/pr46193.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/autopar/pr46193.c
    trunk/libgomp/testsuite/libgomp.c/pr46193.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgomp/ChangeLog

Reply via email to