[nvptx, PR81352] Add exit insn after noreturn call for neutered threads in warp
authorTom de Vries <tom@codesourcery.com>
Wed, 24 Jan 2018 11:27:10 +0000 (11:27 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 24 Jan 2018 11:27:10 +0000 (11:27 +0000)
commitbe606483c9fc0c79ffb671238404203e01288b00
tree3d9c63f4ff1840ebbb4488c1600f69f076b6afcd
parent6acfd18c395cca3d0c5acf9d62a3c1556ea58d90
[nvptx, PR81352] Add exit insn after noreturn call for neutered threads in warp

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

PR target/81352
* config/nvptx/nvptx.c (nvptx_single): Add exit insn after noreturn call
for neutered threads in warp.
* config/nvptx/nvptx.md (define_insn "exit"): New insn.

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

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