re PR middle-end/68221 (libgomp reduction-11/12 failures)
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Nov 2015 19:50:46 +0000 (20:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Nov 2015 19:50:46 +0000 (20:50 +0100)
commit48a78aee68fe0d88f01fcdef61782b4f8008f651
treec24052cb2cd36bcb89e5c282738b57518e6c0e94
parent9a784760f136a97e6cc39816788ca4ddff0193af
re PR middle-end/68221 (libgomp reduction-11/12 failures)

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.

From-SVN: r230672
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/reduction-11.C
libgomp/testsuite/libgomp.c++/reduction-12.C
libgomp/testsuite/libgomp.c/reduction-11.c
libgomp/testsuite/libgomp.c/reduction-12.c