https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68221
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 20 19:50:46 2015 New Revision: 230672 URL: https://gcc.gnu.org/viewcvs?rev=230672&root=gcc&view=rev Log: PR middle-end/68221 * omp-low.c (lower_rec_input_clauses): If C/C++ array reduction has non-zero bias, subtract it in integer type instead of pointer plus of negated bias. * testsuite/libgomp.c/reduction-11.c: Remove xfail. * testsuite/libgomp.c/reduction-12.c: Likewise. * testsuite/libgomp.c++/reduction-11.C: Likewise. * testsuite/libgomp.c++/reduction-12.C: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.c++/reduction-11.C trunk/libgomp/testsuite/libgomp.c++/reduction-12.C trunk/libgomp/testsuite/libgomp.c/reduction-11.c trunk/libgomp/testsuite/libgomp.c/reduction-12.c