aboutsummaryrefslogtreecommitdiff
path: root/gcc/ctfout.cc
diff options
context:
space:
mode:
authorTobias Burnus <tburnus@baylibre.com>2024-12-10 16:16:04 +0100
committerTobias Burnus <tburnus@baylibre.com>2024-12-10 16:16:04 +0100
commit7a12dc695b1ae70f9fc99baf95b7188af6515ed3 (patch)
treec91533d4d84ec9e6db01a90d9e475b2b0dbf4f73 /gcc/ctfout.cc
parent0703e7491e06c09f2a37c9275d92dc32ae10015d (diff)
downloadgcc-7a12dc695b1ae70f9fc99baf95b7188af6515ed3.zip
gcc-7a12dc695b1ae70f9fc99baf95b7188af6515ed3.tar.gz
gcc-7a12dc695b1ae70f9fc99baf95b7188af6515ed3.tar.bz2
plugin/plugin-gcn.c: Fix error handling of GOMP_OFFLOAD_openacc_async_construct
Follow up to r15-5392-g884637b6362391. As the name implies, GOMP_OFFLOAD_openacc_async_construct is also externally called. Hence, partially revert previous commit to permit unlocking handling in oacc-async.c's lookup_goacc_asyncqueue by not failing fatally. Hence, also the other (indirect) callers had to be updated: GOMP_OFFLOAD_dev2dev fails now with 'false' and GOMP_OFFLOAD_async_run fatally. libgomp/ChangeLog: * plugin/plugin-gcn.c (GOMP_OFFLOAD_dev2dev, GOMP_OFFLOAD_async_run): Handle omp_async_queue == NULL after call to maybe_init_omp_async. (GOMP_OFFLOAD_openacc_async_construct): Use error not fatal error, partially reverting r15-5392.
Diffstat (limited to 'gcc/ctfout.cc')
0 files changed, 0 insertions, 0 deletions