[nvptx] Fix neutering of bb with only cond jump
authorTom de Vries <tom@codesourcery.com>
Thu, 5 Apr 2018 08:36:37 +0000 (08:36 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 5 Apr 2018 08:36:37 +0000 (08:36 +0000)
commit2ba16fd2eb40c96e41de967ca32e4dea4b5e45a1
tree26dcac04b2435d5bda5b7eba0accc7e71cccdde7
parent44780b91eb61d1a4ae3a6f94300d1b97a1d06557
[nvptx] Fix neutering of bb with only cond jump

2018-04-05  Tom de Vries  <tom@codesourcery.com>

PR target/85204
* config/nvptx/nvptx.c (nvptx_single): Fix neutering of bb with only
cond jump.

* testsuite/libgomp.oacc-c-c++-common/broadcast-1.c: New test.

From-SVN: r259125
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/broadcast-1.c [new file with mode: 0644]