aboutsummaryrefslogtreecommitdiff
path: root/libgomp/oacc-host.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-11-24 15:10:49 +0100
committerTobias Burnus <tobias@codesourcery.com>2023-11-24 15:10:49 +0100
commit1802f64e674eeef0c0d7e8f6ca2846145ec16315 (patch)
treee68838cde627c0e9a342e2ad2495a826d024fb88 /libgomp/oacc-host.c
parent726723c476800285cfbdfce612cedde4a9a7ad58 (diff)
downloadgcc-1802f64e674eeef0c0d7e8f6ca2846145ec16315.zip
gcc-1802f64e674eeef0c0d7e8f6ca2846145ec16315.tar.gz
gcc-1802f64e674eeef0c0d7e8f6ca2846145ec16315.tar.bz2
OpenMP: Accept argument to depobj's destroy clause
Since OpenMP 5.2, the destroy clause takes an depend argument as argument; for the depobj directive, it the new argument is optional but, if present, it must be identical to the directive's argument. gcc/c/ChangeLog: * c-parser.cc (c_parser_omp_depobj): Accept optionally an argument to the destroy clause. gcc/cp/ChangeLog: * parser.cc (cp_parser_omp_depobj): Accept optionally an argument to the destroy clause. gcc/fortran/ChangeLog: * openmp.cc (gfc_match_omp_depobj): Accept optionally an argument to the destroy clause. libgomp/ChangeLog: * libgomp.texi (5.2 Impl. Status): An argument to the destroy clause is now supported. gcc/testsuite/ChangeLog: * c-c++-common/gomp/depobj-3.c: New test. * gfortran.dg/gomp/depobj-3.f90: New test.
Diffstat (limited to 'libgomp/oacc-host.c')
0 files changed, 0 insertions, 0 deletions