[PR88407] [OpenACC] Correctly handle unseen async-arguments

Programming / Compilers / GCC - tschwinge [138bc75d-0d04-0410-961f-82ee72b054a4] - 14 December 2018 20:42 EST

... which turn the operation into a no-op.

libgomp/ PR libgomp/88407
- plugin/plugin-nvptx.c (nvptx_async_test, nvptx_wait) (nvptx_wait_async): Unseen async-argument is a no-op.
- testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Update.
- testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Likewise.
- testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
- testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise.
- testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise.
- testsuite/libgomp.oacc-c-c++-common/lib-71.c: Merge into...
- testsuite/libgomp.oacc-c-c++-common/lib-69.c: ... this. Update.
- testsuite/libgomp.oacc-c-c++-common/lib-77.c: Merge into...
- testsuite/libgomp.oacc-c-c++-common/lib-74.c: ... this. Update

e7acb9ffce9 [PR88407] [OpenACC] Correctly handle unseen async-arguments
libgomp/ChangeLog | 13 ++
libgomp/plugin/plugin-nvptx.c | 13 +-
.../libgomp.oacc-c-c++-common/async_queue-1.c | 30 +++++
.../libgomp.oacc-c-c++-common/data-2-lib.c | 2 +
.../testsuite/libgomp.oacc-c-c++-common/data-2.c | 2 +
.../testsuite/libgomp.oacc-c-c++-common/lib-69.c | 7 ++
.../testsuite/libgomp.oacc-c-c++-common/lib-71.c | 122 ------------------
.../testsuite/libgomp.oacc-c-c++-common/lib-74.c | 4 +
.../testsuite/libgomp.oacc-c-c++-common/lib-77.c | 138 ---------------------
.../testsuite/libgomp.oacc-c-c++-common/lib-79.c | 24 ++++
libgomp/testsuite/libgomp.oacc-fortran/lib-12.f90 | 5 +
11 files changed, 93 insertions(+), 267 deletions(-)

Upstream: gcc.gnu.org


  • Share