gcc/libgomp/testsuite
Tobias Burnus 1e35a51825 Fortran/OpenACC: Add Fortran support for acc_attach/acc_detach
While C/++ support the routines acc_attach{,_async} and
acc_detach{,_finalize}{,_async} routines since a long time, the Fortran
API routines where only added in OpenACC 3.3.

Unfortunately, they cannot directly be implemented in the library as
GCC will introduce a temporary array descriptor in some cases, which
causes the attempted attachment to the this temporary variable instead
of to the original one.

Therefore, those API routines are handled in a special way in the compiler.

gcc/fortran/ChangeLog:

	* trans-stmt.cc (gfc_trans_call_acc_attach_detach): New.
	(gfc_trans_call): Call it.

libgomp/ChangeLog:

	* libgomp.texi (acc_attach, acc_detach): Update for Fortran
	version.
	* openacc.f90 (acc_attach{,_async}, acc_detach{,_finalize}{,_async}):
	Add.
	* openacc_lib.h: Likewise.
	* testsuite/libgomp.oacc-fortran/acc-attach-detach-1.f90: New test.
	* testsuite/libgomp.oacc-fortran/acc-attach-detach-2.f90: New test.
2025-06-24 23:46:53 +02:00
..
config Update copyright years. 2025-01-02 11:59:57 +01:00
lib diagnostics: convert HTML output test plugin to 'experimental-html' sink [PR116792] 2025-05-08 20:41:35 -04:00
libgomp.c gcn: Add experimental MI300 (gfx942) support 2025-06-10 15:12:47 +02:00
libgomp.c++ OpenMP: Fix implicit 'declare target' for <ostream> 2025-06-17 11:33:09 +02:00
libgomp.c-c++-common libgomp: Fix up omp_target_memset-3.c test for C++ [PR120444] 2025-06-03 07:54:37 +02:00
libgomp.c-target/aarch64 libgomp: Update SVE test 2025-05-06 11:41:18 +05:30
libgomp.fortran libgomp: Add OpenMP's omp_target_memset/omp_target_memset_async 2025-06-02 17:43:57 +02:00
libgomp.graphite Update copyright years. 2025-01-02 11:59:57 +01:00
libgomp.oacc-c libgomp testsuite: Have each '*.exp' file specify the compiler to use [PR91884] 2023-05-15 12:11:17 +02:00
libgomp.oacc-c++ GCN, nvptx offloading: Restrain 'WARNING: program timed out.' while in 'dynamic_cast'" [PR119692] 2025-05-12 15:48:12 +02:00
libgomp.oacc-c-c++-common Defuse 'RESULT_DECL' check in 'pass_nrv' (for offloading compilation) [PR119835] 2025-05-30 14:47:40 +02:00
libgomp.oacc-fortran Fortran/OpenACC: Add Fortran support for acc_attach/acc_detach 2025-06-24 23:46:53 +02:00
flock Support parallel testing in libgomp: fallback Perl 'flock' [PR66005] 2023-06-02 09:51:15 +02:00
libgomp-site-extra.exp.in libgomp: Consider '--with-build-sysroot=[...]' for target libraries' build-tree testing (instead of build-time 'CC' etc.) [PR91884, PR109951] 2023-09-12 11:30:37 +02:00
libgomp-test-support.exp.in
Makefile.am Support parallel testing in libgomp, part II [PR66005] 2023-05-15 12:11:18 +02:00
Makefile.in libgomp: Consider '--with-build-sysroot=[...]' for target libraries' build-tree testing (instead of build-time 'CC' etc.) [PR91884, PR109951] 2023-09-12 11:30:37 +02:00