[nvptx] Don't emit barriers for empty loops -- test-cases
authorTom de Vries <tdevries@suse.de>
Sat, 12 Jan 2019 22:18:39 +0000 (22:18 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 12 Jan 2019 22:18:39 +0000 (22:18 +0000)
commitb39e4366a2d561e69d2d529fd4f910374191c8b9
treef943d050eaadb87815458fcef2776728bc1b04a2
parent2cb7a501ab0be001dca4bac0d9af9298c0bfabbc
[nvptx] Don't emit barriers for empty loops -- test-cases

Add test-cases for PR85381.

2019-01-12  Tom de Vries  <tdevries@suse.de>

PR target/85381
* testsuite/libgomp.oacc-c-c++-common/pr85381-5.c: New test.
* testsuite/libgomp.oacc-c-c++-common/pr85381.c: New test.

From-SVN: r267893
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-5.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381.c [new file with mode: 0644]