[nvptx, PR84028] Add exit insn after noreturn call for neutered workers
authorTom de Vries <tom@codesourcery.com>
Thu, 25 Jan 2018 10:25:14 +0000 (10:25 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 25 Jan 2018 10:25:14 +0000 (10:25 +0000)
commite77a1236a74de93773633cd39748bb8f79f0ea82
tree81f0be418f43f5773213ef39db7b8def697ae24c
parent8819c9199a6f6d4ad4a3eb83eef6e91122482c33
[nvptx, PR84028] Add exit insn after noreturn call for neutered workers

2018-01-25  Tom de Vries  <tom@codesourcery.com>

PR target/84028
* config/nvptx/nvptx.c (nvptx_single): Add exit insn after noreturn call
for neutered workers.

* testsuite/libgomp.oacc-fortran/pr84028.f90: New test.

From-SVN: r257046
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/pr84028.f90 [new file with mode: 0644]