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

--- Comment #6 from vries at gcc dot gnu.org ---
Author: vries
Date: Mon Jul 27 23:46:16 2015
New Revision: 226289

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

2015-07-28  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:
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/autopar/pr46193.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/pr46193.c
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp

Reply via email to