]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/oacc-async.c
libgomp: Fix up FLOCK fallback handling [PR113192]
[thirdparty/gcc.git] / libgomp / oacc-async.c
index 6dfc3bdeb8e1c09a3c9fb9014f66dae016307690..65564aa1cca9f42130dc8eb39e23ab8c1a0d513d 100644 (file)
@@ -1,6 +1,6 @@
 /* OpenACC Runtime Library Definitions.
 
-   Copyright (C) 2013-2019 Free Software Foundation, Inc.
+   Copyright (C) 2013-2024 Free Software Foundation, Inc.
 
    Contributed by Mentor Embedded.
 
@@ -410,9 +410,6 @@ goacc_wait (int async, int num_waits, va_list *ap)
          break;
        }
 
-      if (acc_async_test (qid))
-       continue;
-
       if (async == acc_async_sync)
        acc_wait (qid);
       else if (qid == async)