[nvptx] Fix bug in jit bug workaround
authorTom de Vries <tom@codesourcery.com>
Fri, 19 Jan 2018 16:29:41 +0000 (16:29 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 19 Jan 2018 16:29:41 +0000 (16:29 +0000)
commit8c8e9a6bb656fc50b9a166ba452d252fe05a2c38
tree07ec11d9f2a5ce4fdfbaeff61f7818ad75d626bd
parent6c7c47081ac481c28f31c30e8845d0337556e8a2
[nvptx] Fix bug in jit bug workaround

2018-01-19  Tom de Vries  <tom@codesourcery.com>
    Cesar Philippidis  <cesar@codesourcery.com>

PR target/83920

* config/nvptx/nvptx.c (nvptx_single): Fix jit workaround.

* testsuite/libgomp.oacc-c-c++-common/pr83920.c: New test.
* testsuite/libgomp.oacc-fortran/pr83920.f90: New test.

Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com>
From-SVN: r256894
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr83920.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/pr83920.f90 [new file with mode: 0644]