From 4cb99c3691f95b6b299e7cb2603af36f723f9e8e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 18 Dec 2018 21:58:41 +0100 Subject: [PATCH] into async re-work: adjust host_openacc_async_construct --- libgomp/oacc-host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libgomp/oacc-host.c b/libgomp/oacc-host.c index 727f8866f45c..cfd8a24f0674 100644 --- a/libgomp/oacc-host.c +++ b/libgomp/oacc-host.c @@ -212,7 +212,8 @@ host_openacc_async_queue_callback (struct goacc_asyncqueue *aq static struct goacc_asyncqueue * host_openacc_async_construct (void) { - return NULL; + /* We have to return non-NULL here, but it's OK to use a dummy. */ + return (struct goacc_asyncqueue *) -1; } static bool -- 2.17.1