gcc/libstdc++-v3/testsuite/29_atomics
Jonathan Wakely c94c8ff5f5 libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807]
The definition of the _Atomic(T) macro needs to refer to ::std::atomic,
not some other std::atomic relative to the current namespace.

libstdc++-v3/ChangeLog:

	PR libstdc++/115807
	* include/c_compatibility/stdatomic.h (_Atomic): Ensure it
	refers to std::atomic in the global namespace.
	* testsuite/29_atomics/headers/stdatomic.h/115807.cc: New test.

(cherry picked from commit 40d234dd6439e8c8cfbf3f375a61906aed35c80d)
2024-07-09 19:59:21 +01:00
..
atomic [libstdc++] [testsuite] disable SRA for compare_exchange_padding 2024-04-18 08:03:56 -03:00
atomic_flag Update copyright years. 2024-01-03 12:19:35 +01:00
atomic_float libstdc++: Add missing clear_padding in __atomic_float constructor 2024-03-14 15:06:47 +00:00
atomic_integral libstdc++: Fix tests that fail with -fno-char8_t 2024-04-08 17:44:18 +01:00
atomic_ref Update copyright years. 2024-01-03 12:19:35 +01:00
headers libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807] 2024-07-09 19:59:21 +01:00