]> git.ipfire.org Git - thirdparty/gcc.git/commit
Handle mix/max pointer reductions in parloops
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2015 07:07:51 +0000 (07:07 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2015 07:07:51 +0000 (07:07 +0000)
commit5902cce53a2528fd01c1335158be8da9201340b4
tree9bf08e641c221177e8d579382c0f807bde76c21f
parentace35b59caab6ddd5f1071f3ea9aed52ca5456aa
Handle mix/max pointer reductions in parloops

2015-08-29  Tom de Vries  <tom@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227315 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr46193.c [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr46193.c [new file with mode: 0644]