nvptx.c (nvptx_goacc_validate_dims): Add checking.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 4 Nov 2015 20:48:05 +0000 (20:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 4 Nov 2015 20:48:05 +0000 (20:48 +0000)
commitccc8282babb2336eab6457a0541a884348c7bafb
treede1b37438999069c57346d089b4b0fe252206895
parenta3afde42598578a00cd15c98e70c14f704bc39ae
nvptx.c (nvptx_goacc_validate_dims): Add checking.

gcc/
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Add checking.

libgomp/
* testsuite/libgomp.oacc-fortran/reduction-1.f90: Fix dimensions
and reduction copy.
* testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: New.

From-SVN: r229780
18 files changed:
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c
libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c
libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-dims.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-2.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-3.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-4.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c
libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90
libgomp/testsuite/libgomp.oacc-fortran/reduction-2.f90
libgomp/testsuite/libgomp.oacc-fortran/reduction-3.f90
libgomp/testsuite/libgomp.oacc-fortran/reduction-4.f90
libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90