From: Nathan Sidwell Date: Mon, 20 Jul 2015 17:38:49 +0000 (+0000) Subject: Missed a difference between gomp4 and trunk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a051317b739c58ac84f9e7c60135bd457e94bc19;p=gcc.git Missed a difference between gomp4 and trunk From-SVN: r226012 --- diff --git a/libgomp/oacc-parallel.c b/libgomp/oacc-parallel.c index e1ea2c62c44..d0e5f949fb0 100644 --- a/libgomp/oacc-parallel.c +++ b/libgomp/oacc-parallel.c @@ -436,7 +436,7 @@ GOACC_wait (int async, int num_waits, ...) else if (async == acc_async_sync) acc_wait_all (); else if (async == acc_async_noval) - acc_dev->openacc.async_wait_all_async_func (acc_async_noval); + goacc_thread ()->dev->openacc.async_wait_all_async_func (acc_async_noval); } int