gcc/libstdc++-v3/testsuite/29_atomics/headers
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++: Fix tests that fail with -fno-char8_t 2024-04-08 17:44:18 +01:00
stdatomic.h libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807] 2024-07-09 19:59:21 +01:00