Files
gcc/libgomp/testsuite/libgomp.c++
Thomas Schwinge 04b42c4245 Adjust 'libgomp.c++/target-cdtor-{1,2}.C' for 'targetm.cxx.use_aeabi_atexit' [PR119853, PR119854]
Fix-up for commit aafe942227
"GCN, nvptx offloading: Host/device compatibility: Itanium C++ ABI, DSO Object Destruction API [PR119853, PR119854]":
we need to adjust for 'targetm.cxx.use_aeabi_atexit':

    gcc/config/arm/arm.cc:#define TARGET_CXX_USE_AEABI_ATEXIT arm_cxx_use_aeabi_atexit

    gcc/config/arm/arm.cc:/* The EABI says __aeabi_atexit should be used to register static
    gcc/config/arm/arm.cc-   destructors.  */
    gcc/config/arm/arm.cc-
    gcc/config/arm/arm.cc-static bool
    gcc/config/arm/arm.cc:arm_cxx_use_aeabi_atexit (void)
    gcc/config/arm/arm.cc-{
    gcc/config/arm/arm.cc-  return TARGET_AAPCS_BASED;
    gcc/config/arm/arm.cc-}

..., which 'gcc/cp/decl.cc:get_atexit_node' then acts on: call '__aeabi_atexit'
instead of '__cxa_atexit', and swap two arguments.

	PR target/119853
	PR target/119854
	libgomp/
	* testsuite/libgomp.c++/target-cdtor-1.C: Adjust for
	'targetm.cxx.use_aeabi_atexit'.
	* testsuite/libgomp.c++/target-cdtor-2.C: Likewise.
2025-07-21 08:49:32 +02:00
..
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2017-11-06 13:41:35 +00:00
2017-11-06 13:41:35 +00:00
2015-11-05 16:08:08 +01:00
2015-11-05 16:08:08 +01:00
2017-11-06 13:41:35 +00:00
2017-11-06 13:41:35 +00:00
2017-11-06 13:41:35 +00:00
2017-11-06 13:41:35 +00:00
2013-10-11 11:26:50 +02:00
2015-11-05 16:08:08 +01:00
2015-11-05 16:08:08 +01:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00
2013-10-11 11:26:50 +02:00