diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2025-04-23 10:51:48 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-04-25 12:20:15 +0200 |
commit | aafe942227baf8c2bcd4cac2cb150e49a4b895a9 (patch) | |
tree | be37b5717dddc55eb683095a0fd479fd5fb93126 /gcc/fortran/trans-expr.cc | |
parent | 40ce48e87c1e7344c622c8eb6bed53f1311f5a0a (diff) | |
download | gcc-aafe942227baf8c2bcd4cac2cb150e49a4b895a9.zip gcc-aafe942227baf8c2bcd4cac2cb150e49a4b895a9.tar.gz gcc-aafe942227baf8c2bcd4cac2cb150e49a4b895a9.tar.bz2 |
GCN, nvptx offloading: Host/device compatibility: Itanium C++ ABI, DSO Object Destruction API [PR119853, PR119854]
'__dso_handle' for '__cxa_atexit', '__cxa_finalize'. See
<https://itanium-cxx-abi.github.io/cxx-abi/abi.html#dso-dtor>.
PR target/119853
PR target/119854
libgcc/
* config/gcn/crt0.c (_fini_array): Call
'__GCC_offload___cxa_finalize'.
* config/nvptx/gbl-ctors.c (__static_do_global_dtors): Likewise.
libgomp/
* target-cxa-dso-dtor.c: New.
* config/accel/target-cxa-dso-dtor.c: Likewise.
* Makefile.am (libgomp_la_SOURCES): Add it.
* Makefile.in: Regenerate.
* testsuite/libgomp.c++/target-cdtor-1.C: New.
* testsuite/libgomp.c++/target-cdtor-2.C: Likewise.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions