]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenACC: Remove 'acc_async_test' -> skip shortcut in 'libgomp/oacc-async.c:goacc_wait'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 24 Feb 2023 15:17:57 +0000 (16:17 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 10 Mar 2023 14:43:58 +0000 (15:43 +0100)
commite58692d95d36ed9b466a1925cae38eb5318bc25e
treecb6211ccee6d6f2d7dbf17e6ce81d9a54adbc533
parentb13cc8db8d4a6fd82b9b540945723d2eca293e0c
OpenACC: Remove 'acc_async_test' -> skip shortcut in 'libgomp/oacc-async.c:goacc_wait'

We're not taking such a shortcut anywhere else, and (with future changes) it
has potential to confuse things if synchronization in a libgomp plugin happens
to have side effects even if an async queue currently is empty.

libgomp/
* oacc-async.c (goacc_wait): Remove 'acc_async_test' -> skip
shortcut.

(cherry picked from commit b5037d4a073f2e4625afab5ec1f35624d9f9eba1)
libgomp/ChangeLog.omp
libgomp/oacc-async.c