gcc/libstdc++-v3/testsuite/18_support
Jonathan Wakely 6c0c7fc623 libstdc++: Move atomic functions to libsupc++ [PR 96657]
The changes for PR libstdc++/64735 mean that libsupc++ function might
now depend on the __exchange_and_add and __atomic_add functions defined
in config/cpu/*/atomicity.h which is not compiled into libsupc++. This
causes a link failure for some targets when trying to use libsupc++
without the rest of libstdc++.

This patch simply moves the definitions of those functions into
libsupc++ so that they are available there.

libstdc++-v3/ChangeLog:

	PR libstdc++/96657
	* libsupc++/Makefile.am: Add atomicity.cc here.
	* src/c++98/Makefile.am: Remove it from here.
	* libsupc++/Makefile.in: Regenerate.
	* src/c++98/Makefile.in: Regenerate.
	* testsuite/18_support/exception_ptr/96657.cc: New test.
2021-04-15 16:56:44 +01:00
..
aligned_alloc Update copyright years. 2021-01-04 10:26:59 +01:00
bad_alloc Update copyright years. 2021-01-04 10:26:59 +01:00
bad_cast Update copyright years. 2021-01-04 10:26:59 +01:00
bad_exception Update copyright years. 2021-01-04 10:26:59 +01:00
bad_typeid Update copyright years. 2021-01-04 10:26:59 +01:00
byte Update copyright years. 2021-01-04 10:26:59 +01:00
comparisons libstdc++: Implement LWG 3530 for concept-constrained comparisons 2021-03-10 15:27:06 +00:00
coroutines Update copyright years. 2021-01-04 10:26:59 +01:00
exception Update copyright years. 2021-01-04 10:26:59 +01:00
exception_ptr libstdc++: Move atomic functions to libsupc++ [PR 96657] 2021-04-15 16:56:44 +01:00
headers Update copyright years. 2021-01-04 10:26:59 +01:00
initializer_list Update copyright years. 2021-01-04 10:26:59 +01:00
launder Update copyright years. 2021-01-04 10:26:59 +01:00
max_align_t/requirements Update copyright years. 2021-01-04 10:26:59 +01:00
nested_exception Update copyright years. 2021-01-04 10:26:59 +01:00
numeric_limits Update copyright years. 2021-01-04 10:26:59 +01:00
quick_exit Update copyright years. 2021-01-04 10:26:59 +01:00
source_location c++: Fix source_location inconsistency between calls from templates and non-templates [PR99672] 2021-03-25 21:35:11 +01:00
type_info Update copyright years. 2021-01-04 10:26:59 +01:00
uncaught_exception Update copyright years. 2021-01-04 10:26:59 +01:00
uncaught_exceptions Update copyright years. 2021-01-04 10:26:59 +01:00
50594.cc Update copyright years. 2021-01-04 10:26:59 +01:00
51333.cc Update copyright years. 2021-01-04 10:26:59 +01:00
96817.cc Update copyright years. 2021-01-04 10:26:59 +01:00
cxa_vec.cc Update copyright years. 2021-01-04 10:26:59 +01:00
destroying_delete.cc Update copyright years. 2021-01-04 10:26:59 +01:00
free_eh_pool.cc Update copyright years. 2021-01-04 10:26:59 +01:00
new_aligned.cc Update copyright years. 2021-01-04 10:26:59 +01:00
new_delete_placement.cc Update copyright years. 2021-01-04 10:26:59 +01:00
new_handler.cc Update copyright years. 2021-01-04 10:26:59 +01:00
new_nothrow.cc Update copyright years. 2021-01-04 10:26:59 +01:00
pthread_guard.cc Update copyright years. 2021-01-04 10:26:59 +01:00
set_terminate.cc Update copyright years. 2021-01-04 10:26:59 +01:00
set_unexpected.cc Update copyright years. 2021-01-04 10:26:59 +01:00
terminate_handler.cc Update copyright years. 2021-01-04 10:26:59 +01:00
unexpected_handler.cc Update copyright years. 2021-01-04 10:26:59 +01:00